hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestObject.java
changeset 38234 06263a71233c
parent 36851 03e2f4d0a421
child 38281 b28e2739b429
--- a/hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestObject.java	Tue May 03 20:36:17 2016 +0000
+++ b/hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestObject.java	Wed May 04 17:17:10 2016 +0300
@@ -40,6 +40,7 @@
 
 public class SunMiscUnsafeAccessTestObject {
     static final int ITERS = Integer.getInteger("iters", 1);
+    static final int WEAK_ATTEMPTS = Integer.getInteger("weakAttempts", 10);
 
     static final sun.misc.Unsafe UNSAFE;
 
@@ -136,7 +137,6 @@
 
 
 
-
         UNSAFE.putObject(base, offset, "foo");
 
         // Compare
@@ -155,7 +155,6 @@
         }
 
 
-
         // Compare set and get
         {
             Object o = UNSAFE.getAndSetObject(base, offset, "foo");
@@ -168,4 +167,3 @@
 
 }
 
-