| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public native long | getCollectionCount()
Implements java. Returns the total number of collections that have occurred. |
| public native long | getCollectionTime()
Implements java. Returns the approximate accumulated collection elapsed time in milliseconds. |
| public ObjectName | getObjectName()
Overrides sun. Implements java. Returns an |
| GarbageCollectorImpl | back to summary |
|---|---|
| protected GarbageCollectorImpl(String name) | |
| getCollectionCount | back to summary |
|---|---|
| public native long getCollectionCount() Implements java. Doc from java. Returns the total number of collections that have occurred.
This method returns
| |
| getCollectionTime | back to summary |
|---|---|
| public native long getCollectionTime() Implements java. Doc from java. Returns the approximate accumulated collection elapsed time
in milliseconds. This method returns The Java virtual machine implementation may use a high resolution timer to measure the elapsed time. This method may return the same value even if the collection count has been incremented if the collection elapsed time is very short.
| |
| getObjectName | back to summary |
|---|---|
| public ObjectName getObjectName() Overrides sun. Implements java. Doc from java. Returns an
| |