mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8152698: Remove obsolete Unsafe.putOrdered{X} methods, usages, runtime and compiler support
Reviewed-by: kvn, psandoz
This commit is contained in:
parent
752d1b46bb
commit
d8f23ea33b
26 changed files with 32 additions and 85 deletions
|
@ -127,12 +127,6 @@ public class JdkInternalMiscUnsafeAccessTestObject {
|
|||
assertEquals(x, "bar", "putVolatile Object value");
|
||||
}
|
||||
|
||||
// Lazy
|
||||
{
|
||||
UNSAFE.putOrderedObject(base, offset, "foo");
|
||||
Object x = UNSAFE.getObjectVolatile(base, offset);
|
||||
assertEquals(x, "foo", "putRelease Object value");
|
||||
}
|
||||
|
||||
// Lazy
|
||||
{
|
||||
|
@ -241,3 +235,4 @@ public class JdkInternalMiscUnsafeAccessTestObject {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue