Lines Matching refs:tv
216 TestVolatileClass tv = new TestVolatileClass(); in testGetAndPutVolatile() local
221 check(unsafe.getIntVolatile(tv, volatileIntOffset), in testGetAndPutVolatile()
224 unsafe.putIntVolatile(tv, volatileIntOffset, intValue); in testGetAndPutVolatile()
225 check(tv.volatileIntVar, intValue, "Unsafe.putIntVolatile(Object, long, int)"); in testGetAndPutVolatile()
226 check(unsafe.getIntVolatile(tv, volatileIntOffset), in testGetAndPutVolatile()
233 check(unsafe.getLongVolatile(tv, volatileLongOffset), in testGetAndPutVolatile()
236 unsafe.putLongVolatile(tv, volatileLongOffset, longValue); in testGetAndPutVolatile()
237 check(tv.volatileLongVar, longValue, "Unsafe.putLongVolatile(Object, long, long)"); in testGetAndPutVolatile()
238 check(unsafe.getLongVolatile(tv, volatileLongOffset), in testGetAndPutVolatile()
245 check(unsafe.getObjectVolatile(tv, volatileObjectOffset), in testGetAndPutVolatile()
248 unsafe.putObjectVolatile(tv, volatileObjectOffset, objectValue); in testGetAndPutVolatile()
249 check(tv.volatileObjectVar, objectValue, "Unsafe.putObjectVolatile(Object, long, Object)"); in testGetAndPutVolatile()
250 check(unsafe.getObjectVolatile(tv, volatileObjectOffset), in testGetAndPutVolatile()