Liferay 7.0-ce-b4

com.liferay.portal.kernel.test
Class GCUtil

java.lang.Object
  extended by com.liferay.portal.kernel.test.GCUtil

public class GCUtil
extends Object


Constructor Summary
GCUtil()
           
 
Method Summary
static void fullGC(boolean ensureEnqueuedReferences)
           
static void gc(boolean ensureEnqueuedReferences)
           
static void gc(boolean actively, boolean ensureEnqueuedReferences)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCUtil

public GCUtil()
Method Detail

fullGC

public static void fullGC(boolean ensureEnqueuedReferences)
                   throws InterruptedException
Throws:
InterruptedException

gc

public static void gc(boolean ensureEnqueuedReferences)
               throws InterruptedException
Throws:
InterruptedException

gc

public static void gc(boolean actively,
                      boolean ensureEnqueuedReferences)
               throws InterruptedException
Throws:
InterruptedException

Liferay 7.0-ce-b4