< prev index next >

test/compiler/unsafe/SunMiscUnsafeAccessTestChar.java

Print this page

        

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

@@ -158,11 +159,10 @@
 
 
 
 
 
-
     }
 
     static void testAccess(long address) {
         // Plain
         {

@@ -171,6 +171,5 @@
             assertEquals(x, 'a', "set char value");
         }
     }
 }
 
-
< prev index next >