< prev index next >

test/compiler/unsafe/SunMiscUnsafeAccessTestFloat.java

Print this page

        

*** 38,47 **** --- 38,48 ---- import static org.testng.Assert.*; public class SunMiscUnsafeAccessTestFloat { 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,168 **** - } static void testAccess(long address) { // Plain { --- 159,168 ----
*** 171,176 **** assertEquals(x, 1.0f, "set float value"); } } } - --- 171,175 ----
< prev index next >