Home
last modified time | relevance | path

Searched refs:testWeak4 (Results 1 – 3 of 3) sorted by relevance

/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/gc/shenandoah/
H A DTestReferenceRefersToShenandoah.java143 gcUntilOld(testWeak4); in gcUntilOld()
192 expectValue(testWeak4, testObject4, "testWeak4"); in checkInitialStates()
231 if (testWeak4.get() == null) { in testConcurrentCollection()
246 expectCleared(testWeak4, "testWeak4"); in testConcurrentCollection()
248 expectNotCleared(testWeak4, "testWeak4"); in testConcurrentCollection()
263 TestObject obj4 = testWeak4.get(); in testConcurrentCollection()
284 } else if (ref == testWeak4) { in testConcurrentCollection()
285 testWeak4 = null; in testConcurrentCollection()
296 } else if (testWeak4 == null) { in testConcurrentCollection()
329 expectNotCleared(testWeak4, "testWeak4"); in testSimpleCollection()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/gc/
H A DTestReferenceRefersTo.java67 private static WeakReference<TestObject> testWeak4 = null; field in TestReferenceRefersTo
105 gcUntilOld(testWeak4); in gcUntilOld()
154 expectValue(testWeak4, testObject4, "testWeak4"); in checkInitialStates()
189 if (testWeak4.get() == null) { in testConcurrentCollection()
201 expectNotCleared(testWeak4, "testWeak4"); in testConcurrentCollection()
215 TestObject obj4 = testWeak4.get(); in testConcurrentCollection()
234 } else if (ref == testWeak4) { in testConcurrentCollection()
235 testWeak4 = null; in testConcurrentCollection()
246 } else if (testWeak4 == null) { in testConcurrentCollection()
279 expectNotCleared(testWeak4, "testWeak4"); in testSimpleCollection()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/gc/
H A DTestReferenceRefersTo.java66 private static WeakReference<TestObject> testWeak4 = null; field in TestReferenceRefersTo
81 testWeak4 = new WeakReference<TestObject>(testObject4, queue); in setup()
104 gcUntilOld(testWeak4); in gcUntilOld()
153 expectValue(testWeak4, testObject4, "testWeak4"); in checkInitialStates()
188 if (testWeak4.get() == null) { in testConcurrentCollection()
212 TestObject obj4 = testWeak4.get(); in testConcurrentCollection()
226 } else if (ref == testWeak4) { in testConcurrentCollection()
227 testWeak4 = null; in testConcurrentCollection()
239 if ((testWeak4 == null) != (obj4 == null)) { in testConcurrentCollection()
271 expectNotCleared(testWeak4, "testWeak4"); in testSimpleCollection()
[all …]