|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.oy.shared.lw.misc.PoliteThread
com.oy.shared.lw.samples.gc.TestGCThread
This test are designed to monitor behavior of Java garbage collector. Please note that overriding finalize() in TestGCCLass significanly changes the behavior of garbage collection. To see this test at work set the following JVM options and run this test, while monitoring it via SNMP. Options: 1) Copying [default]: -Xms256M -Xmx256M 2) Incremental: -Xms256M -Xmx256M -Xincgc 3) Parallel copying: -Xms256M -Xmx256M -XX:+UseParNewGC 4) Parallel scavenging: -Xms256M -Xmx256M -XX:+UseParallelGC 5) Concurrent mark and sweep: -Xms256M -Xmx256M -XX:+UseConcMarkSweepGC
| Field Summary |
| Fields inherited from class com.oy.shared.lw.misc.PoliteThread |
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
TestGCThread()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
|
void |
run()
|
| Methods inherited from class com.oy.shared.lw.misc.PoliteThread |
isTerminated, terminate |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TestGCThread()
| Method Detail |
public static void main(java.lang.String[] args)
public void run()
run in interface java.lang.Runnablerun in class PoliteThread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||