Searched refs:finalized (Results 1 – 3 of 3) 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()92 assertTrue("object whose constructor threw was not finalized", ConstructionFails.finalized); in testBackFromTheDead()96 private static boolean finalized; field in FinalizeTest.ConstructionFails103 finalized = true; in finalize()
151 boolean finalized = false; field in FinalizerReference.Sentinel154 if (finalized) { in finalize()157 finalized = true; in finalize()164 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()