Lines Matching refs:tv
224 TestVolatileClass tv = new TestVolatileClass(); in testGetAndPutVolatile() local
229 check(unsafe.getIntVolatile(tv, volatileIntOffset), in testGetAndPutVolatile()
232 unsafe.putIntVolatile(tv, volatileIntOffset, intValue); in testGetAndPutVolatile()
233 check(tv.volatileIntVar, intValue, "Unsafe.putIntVolatile(Object, long, int)"); in testGetAndPutVolatile()
234 check(unsafe.getIntVolatile(tv, volatileIntOffset), in testGetAndPutVolatile()
241 check(unsafe.getLongVolatile(tv, volatileLongOffset), in testGetAndPutVolatile()
244 unsafe.putLongVolatile(tv, volatileLongOffset, longValue); in testGetAndPutVolatile()
245 check(tv.volatileLongVar, longValue, "Unsafe.putLongVolatile(Object, long, long)"); in testGetAndPutVolatile()
246 check(unsafe.getLongVolatile(tv, volatileLongOffset), in testGetAndPutVolatile()
253 check(unsafe.getObjectVolatile(tv, volatileObjectOffset), in testGetAndPutVolatile()
256 unsafe.putObjectVolatile(tv, volatileObjectOffset, objectValue); in testGetAndPutVolatile()
257 check(tv.volatileObjectVar, objectValue, "Unsafe.putObjectVolatile(Object, long, Object)"); in testGetAndPutVolatile()
258 check(unsafe.getObjectVolatile(tv, volatileObjectOffset), in testGetAndPutVolatile()