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

add ability to load uncompressed object and Klass references in a compressed environment to Unsafe

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b64
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        In some native data structures of the VM oops are stored uncompressed even if compressed oops are turned on, for example Klass::_java_mirror. Java code which is tightly coupled with the VM should have the ability to read and write such fields.

        This additional Unsafe API make the implementation of JEP 243: Java-Level JVM Compiler Interface simpler.

          Attachments

          1. 8022853-hotspot.patch
            18 kB
            Christian Thalinger
          2. 8022853-jdk.patch
            12 kB
            Christian Thalinger

            Issue Links

              Activity

                People

                • Assignee:
                  twisti Christian Thalinger
                  Reporter:
                  twisti Christian Thalinger
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: