equal
deleted
inserted
replaced
38 |
38 |
39 import static org.testng.Assert.*; |
39 import static org.testng.Assert.*; |
40 |
40 |
41 public class JdkInternalMiscUnsafeAccessTestByte { |
41 public class JdkInternalMiscUnsafeAccessTestByte { |
42 static final int ITERS = Integer.getInteger("iters", 1); |
42 static final int ITERS = Integer.getInteger("iters", 1); |
|
43 static final int WEAK_ATTEMPTS = Integer.getInteger("weakAttempts", 10); |
43 |
44 |
44 static final jdk.internal.misc.Unsafe UNSAFE; |
45 static final jdk.internal.misc.Unsafe UNSAFE; |
45 |
46 |
46 static final long V_OFFSET; |
47 static final long V_OFFSET; |
47 |
48 |
183 assertEquals(x, (byte)1, "set byte value"); |
184 assertEquals(x, (byte)1, "set byte value"); |
184 } |
185 } |
185 } |
186 } |
186 } |
187 } |
187 |
188 |
188 |
|