< prev index next >

test/compiler/unsafe/JdkInternalMiscUnsafeAccessTestShort.java

Print this page

        

@@ -38,10 +38,11 @@
 
 import static org.testng.Assert.*;
 
 public class JdkInternalMiscUnsafeAccessTestShort {
     static final int ITERS = Integer.getInteger("iters", 1);
+    static final int WEAK_ATTEMPTS = Integer.getInteger("weakAttempts", 10);
 
     static final jdk.internal.misc.Unsafe UNSAFE;
 
     static final long V_OFFSET;
 

@@ -201,6 +202,5 @@
             assertEquals(x, (short)1, "set short value");
         }
     }
 }
 
-
< prev index next >