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

Deprecate UseCompressedClassPointers

XMLWordPrintable

    • b19

      The uncompressed Klass Pointers mode (-UseCompressedClassPointers) is now very rarely used and offers no benefit, but it is costly, as it wastes memory.

      It also increases the maintenance burden and technical debt - it is yet another object header format requiring code and testing, and with the advent of compact object headers, we now have three of those. Let us deprecate this format with JDK 25, and remove it in a later release.

      A removal of -UseCompressedClassPointers would also mean we could get rid of this switch altogether, since the only remaining mode would be +UseCompressedClassPointers.

            stuefe Thomas Stuefe
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: