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

Remove MetaspaceHandleDeallocations debug switch

    XMLWordPrintable

    Details

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

      Description

      MetaspaceHandleDeallocations can be used to switch off deallocation handling (which takes care of reusing prematurely deallocated metaspace blocks in case of e.g. class redefinitions or class loading errors).

      The purpose of this switch had been to switch off the dealloation handling for error analysis. It had been very rarely used, only in the first stages of JEP 387, and it is not covered by tests. I propose to remove it to reduce code complexity.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stuefe Thomas Stuefe
              Reporter:
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: