Package se.jiderhamn.classloader.leak
Annotation Type Leaks
Annotation to indicate whether test case is expected to leak classloaders or not
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Set this to true to automatically generate a heap dump of classloader could not be garbage collected.boolean
Should the thread pause for a couple of seconds before throwing the test failed error? Set this to true to allow some time to aquire a heap dump to track down leaks.boolean
Is this test expected to leak classloaders?
-
Element Details
-
value
boolean valueIs this test expected to leak classloaders?- Default:
- true
-
haltBeforeError
boolean haltBeforeErrorShould the thread pause for a couple of seconds before throwing the test failed error? Set this to true to allow some time to aquire a heap dump to track down leaks.- Default:
- false
-
dumpHeapOnError
boolean dumpHeapOnErrorSet this to true to automatically generate a heap dump of classloader could not be garbage collected. Only works on Sun/Oracle JVM.- Default:
- false
-