|
SunSPOT API V5.0 |
|||||||||
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. |
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
Method Detail |
---|
public int getBytesAllocatedSinceLastGC()
public long getBytesAllocatedTotal()
public final long getBytesFreedTotal()
public final long getBytesLastFreed()
public final long getBytesLastScanned()
public final long getLastGCTime()
public final long getMaxFullGCTime()
public final long getMaxGCTime()
public final long getMaxPartialGCTime()
public final long getTotalFullGCTime()
public final long getTotalGCTime()
public final long getTotalPartialGCTime()
|
SunSPOT API V5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |