mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8155965: Unsafe.weakCompareAndSetVolatile entry points and intrinsics
Reviewed-by: psandoz, vlivanov
This commit is contained in:
parent
9773289026
commit
ffc21de072
9 changed files with 60 additions and 0 deletions
|
@ -154,6 +154,7 @@ public class SunMiscUnsafeAccessTestObject {
|
|||
assertEquals(x, "bar", "failing compareAndSwap Object value");
|
||||
}
|
||||
|
||||
UNSAFE.putObject(base, offset, "bar");
|
||||
|
||||
// Compare set and get
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue