public class GCUtil
extends Object
| Constructor and Description |
|---|
GCUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fullGC(boolean ensureEnqueuedReferences) |
static void |
gc(boolean ensureEnqueuedReferences) |
static void |
gc(boolean actively,
boolean ensureEnqueuedReferences) |
public static void fullGC(boolean ensureEnqueuedReferences)
throws InterruptedException
InterruptedExceptionpublic static void gc(boolean ensureEnqueuedReferences)
throws InterruptedException
InterruptedExceptionpublic static void gc(boolean actively,
boolean ensureEnqueuedReferences)
throws InterruptedException
InterruptedException