com.google.common.testing
Interface GcFinalization.FinalizationPredicate
- Enclosing class:
- GcFinalization
public static interface GcFinalization.FinalizationPredicate
A predicate that is expected to return true subsequent to finalization, that is, one
of the following actions taken by the garbage collector when performing a full collection in
response to System.gc()
:
- invoking the
finalize
methods of unreachable objects
- clearing weak references to unreachable referents
- enqueuing weak references to unreachable referents in their reference queue
Method Summary |
boolean |
isDone()
|
isDone
boolean isDone()
Copyright © 2010-2011. All Rights Reserved.