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

Add GCConfig::hs_err_name() to avoid GC-specific code in error reporting

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b12

      Description

      The gc_mode() function in vmErrror.cpp currently tests which Use*GC flag is set and translates that into a name. We should instead call into GCConfig to get the name. This is not placed on CollectedHeap, since we might need this name before a CollectedHeap instance has been created, e.g. if we crash during VM startup.

        Attachments

          Activity

            People

            • Assignee:
              pliden Per Liden
              Reporter:
              pliden Per Liden
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: