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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • hotspot
    • None
    • gc
    • b12

      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.

            pliden Per Liden (Inactive)
            pliden Per Liden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: