Searched refs:finalized (Results 1 – 4 of 4) sorted by relevance
27 AtomicBoolean finalized = new AtomicBoolean(); in testFinalizeIsCalled() local28 createFinalizableObject(finalized); in testFinalizeIsCalled()31 if (!finalized.get()) { in testFinalizeIsCalled()52 private X createFinalizableObject(final AtomicBoolean finalized) { in createFinalizableObject() argument56 finalized.set(true); in createFinalizableObject()61 boolean wasFinalized = finalized.get(); in createFinalizableObject()80 assertTrue("object whose constructor threw was not finalized", ConstructionFails.finalized); in testBackFromTheDead()84 private static boolean finalized; field in FinalizeTest.ConstructionFails91 finalized = true; in finalize()
137 boolean finalized = false; field in FinalizerReference.Sentinel140 if (finalized) { in finalize()143 finalized = true; in finalize()148 while (!finalized) { in awaitFinalization()
84 public boolean finalized; in test_get_SoftReference() field in SoftReferenceTest.TestObject86 finalized = false; in test_get_SoftReference()90 finalized = true; in test_get_SoftReference()
217 boolean finalized = waitForFinalization(); in run()218 if (!finalized && !VMRuntime.getRuntime().isDebuggerActive()) { in run()