Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8232923

Exception logging should report details not captured by the StackOverflowError

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 14
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      Martin Buchholz comments:

      I was also frustrated that a StackOverflowError failed to report the name of the thread and the stack size that was exceeded. But -Xlog:threads*=trace helped there.

      David Holmes responds:

      The issue there is that SOE instances are allocated natively without executing any Java code (as we have run out of the Java stack) so we can't (easily) create a String message for the exception. However -Xlog:exceptions could be expanded to report that information at the point we throw the SOE.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dholmes David Holmes
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: