hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestFloat.java
changeset 36827 53d2d43551d2
parent 35103 d19354bcbfa6
child 36851 03e2f4d0a421
equal deleted inserted replaced
36825:6ebe5519b753 36827:53d2d43551d2
   157         }
   157         }
   158 
   158 
   159 
   159 
   160 
   160 
   161 
   161 
       
   162 
   162     }
   163     }
   163 
   164 
   164     static void testAccess(long address) {
   165     static void testAccess(long address) {
   165         // Plain
   166         // Plain
   166         {
   167         {
   168             float x = UNSAFE.getFloat(address);
   169             float x = UNSAFE.getFloat(address);
   169             assertEquals(x, 1.0f, "set float value");
   170             assertEquals(x, 1.0f, "set float value");
   170         }
   171         }
   171     }
   172     }
   172 }
   173 }
       
   174