Java com.google.common.testing GcFinalization fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.testing GcFinalization fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.testing GcFinalization.

The text is from its open source code.

Method

voidawaitClear(final WeakReference ref)
Waits until the given weak reference is cleared, invoking the garbage collector as necessary to try to ensure that this will happen.
voidawaitFullGc()
Tries to perform a "full" garbage collection cycle (including processing of weak references and invocation of finalize methods) and waits for it to complete.