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

Zero: UseCompressedClassPointers does not depend on UseCompressedOops

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 16, 17
    • hotspot
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: