hg: jdk9/sandbox/hotspot: Add basic unsafe tests that exercise all types and access

paul.sandoz at oracle.com paul.sandoz at oracle.com
Mon Nov 16 14:00:32 UTC 2015


Changeset: 5a57a2e3aea6
Author:    psandoz
Date:      2015-11-16 14:59 +0100
URL:       http://hg.openjdk.java.net/jdk9/sandbox/hotspot/rev/5a57a2e3aea6

Add basic unsafe tests that exercise all types and access
modes accross fields (instance/static) and arrays (on/off heap).

+ test/runtime/Unsafe/SunMiscUnsafeAccessTestBoolean.java
+ test/runtime/Unsafe/SunMiscUnsafeAccessTestByte.java
+ test/runtime/Unsafe/SunMiscUnsafeAccessTestChar.java
+ test/runtime/Unsafe/SunMiscUnsafeAccessTestDouble.java
+ test/runtime/Unsafe/SunMiscUnsafeAccessTestFloat.java
+ test/runtime/Unsafe/SunMiscUnsafeAccessTestInt.java
+ test/runtime/Unsafe/SunMiscUnsafeAccessTestLong.java
+ test/runtime/Unsafe/SunMiscUnsafeAccessTestObject.java
+ test/runtime/Unsafe/SunMiscUnsafeAccessTestShort.java
+ test/runtime/Unsafe/X-UnsafeAccessTest.java.template
+ test/runtime/Unsafe/generate-unsafe-tests.sh



More information about the jdk9-sandbox-changes mailing list