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

max code printed in hs-err logs should be configurable

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b19

      Description

      JDK-8272586 added support for printing code for more than one frame on the crashing stack. The max number of frames printed is hard coded to 5. This limit should be configurable with a global options and its default should probably be lower as 5 is probably more than is generally useful and could make hs-err logs bloated.

      Furthermore, the JIT compiled methods on the Java stack should also be printed as the native stack may not actually contain any compiled frames. This is the case for the example given in the description of JDK-8272586.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dnsimon Douglas Simon
              Reporter:
              dnsimon Douglas Simon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: