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

Zero: UseCompressedClassPointers does not depend on UseCompressedOops

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16, 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b05

      Description

      JDK-8241825 decoupled UseCompressedClassPointers and UseCompressedOops, and introduced COMPRESSED_CLASS_POINTERS_DEPENDS_ON_COMPRESSED_OOPS that platforms can set to say if their generated code is ready for this decoupling.

      Zero defaults to "true" for that flag, meaning the flags are still coupled. But there is not actual coupling: Zero delegates all this work to VM code, which handles everything correctly.

      This makes at least one test fail with Zero:

      runtime/CompressedOops/CompressedClassPointers.java
      java.lang.RuntimeException: 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: