RFR: 8022853: add ability to load uncompressed object and Klass references in a compressed environment to Unsafe (original) (raw)

Christian Thalinger christian.thalinger at oracle.com
Wed Apr 22 19:01:44 UTC 2015


On Apr 22, 2015, at 11:44 AM, John Rose <john.r.rose at oracle.com> wrote:

Reviewed, if you update the javadoc for Unsafe.getUncompressedObject. — John

Done. Thanks, I missed that.

On Apr 22, 2015, at 10:56 AM, Christian Thalinger <christian.thalinger at oracle.com> wrote:

https://bugs.openjdk.java.net/browse/JDK-8022853 In some native data structures of the VM oops are stored uncompressed even if compressed oops are turned on, for example Klass::javamirror. 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. http://cr.openjdk.java.net/~twisti/8022853/hotspot/webrev.01/ http://cr.openjdk.java.net/~twisti/8022853/jdk/webrev.01/



More information about the hotspot-dev mailing list