|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.squawk.GarbageCollector
public abstract class GarbageCollector
Base class for all garbage collectors.
Field Summary | |
---|---|
static boolean |
NATIVE_GC_ONLY
If build.properties defines NATIVE_GC_ONLY= true, then define constant NATIVE_GC_ONLY = true. |
protected long |
numBytesLastScanned
The number of bytes scanned in the last collection. |
protected Ref |
references
List of weak references. |
Method Summary | |
---|---|
int |
getBytesAllocatedSinceLastGC()
Get the number of bytes allocated since the last GC. |
long |
getBytesAllocatedTotal()
Get the number of bytes allocated since JVM startup. |
long |
getBytesFreedTotal()
Get the number of bytes freed in all collections |
long |
getBytesLastFreed()
Get the number of bytes freed in the last collection |
long |
getBytesLastScanned()
Get the number of bytes scanned in the last collection. |
long |
getLastGCTime()
Gets the time taken by the last collection. |
long |
getMaxFullGCTime()
Gets the time of the longest full GC. |
long |
getMaxGCTime()
Get the time taken by the slowest garbage collection. |
long |
getMaxPartialGCTime()
Gets the time of the longest partial GC. |
long |
getTotalFullGCTime()
Gets the time taken by all full garbage collections. |
long |
getTotalGCTime()
Gets the time taken by all GC. |
long |
getTotalPartialGCTime()
Get the time taken by all partial garbage collections. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean NATIVE_GC_ONLY
protected long numBytesLastScanned
protected Ref references
Method Detail |
---|
public final long getLastGCTime()
public final long getMaxFullGCTime()
public final long getMaxPartialGCTime()
public final long getMaxGCTime()
public final long getTotalGCTime()
public final long getTotalFullGCTime()
public final long getTotalPartialGCTime()
public final long getBytesLastFreed()
public final long getBytesLastScanned()
public final long getBytesFreedTotal()
public int getBytesAllocatedSinceLastGC()
public long getBytesAllocatedTotal()
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |