Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addToDefaults() - Element in annotation type se.jiderhamn.classloader.PackagesLoadedOutsideClassLoader
-
Should the packages in
PackagesLoadedOutsideClassLoader.packages()be added toRedefiningClassLoader.DEFAULT_IGNORED_PACKAGES?
D
- DEFAULT_IGNORED_PACKAGES - Static variable in class se.jiderhamn.classloader.RedefiningClassLoader
-
Override parents default and include
- dumpHeap(File, boolean) - Static method in class se.jiderhamn.HeapDumper
-
Dump the heap snapshot into a file.
- dumpHeapOnError() - Element in annotation type se.jiderhamn.classloader.leak.Leaks
-
Set this to true to automatically generate a heap dump of classloader could not be garbage collected.
F
- finalize() - Method in class se.jiderhamn.classloader.RedefiningClassLoader
- forceGc() - Static method in class se.jiderhamn.classloader.leak.JUnitClassloaderRunner
-
Make sure Garbage Collection has been run
- forceGc(int) - Static method in class se.jiderhamn.classloader.leak.JUnitClassloaderRunner
-
Make sure Garbage Collection has been run N no of times
H
- haltBeforeError() - Element in annotation type se.jiderhamn.classloader.leak.Leaks
-
Should the thread pause for a couple of seconds before throwing the test failed error?
- HEAP_DUMP_EXTENSION - Static variable in class se.jiderhamn.HeapDumper
-
Filename extension for heap dumps
- HeapDumper - Class in se.jiderhamn
-
Class that helps programatically dumping the heap.
- HeapDumper() - Constructor for class se.jiderhamn.HeapDumper
J
- JUnitClassloaderRunner - Class in se.jiderhamn.classloader.leak
- JUnitClassloaderRunner(Class<?>) - Constructor for class se.jiderhamn.classloader.leak.JUnitClassloaderRunner
L
- LeakPreventor - Annotation Type in se.jiderhamn.classloader.leak
-
Configure the Runnable that can be used to prevent the leak
- Leaks - Annotation Type in se.jiderhamn.classloader.leak
-
Annotation to indicate whether test case is expected to leak classloaders or not
- loadClass(String, boolean) - Method in class se.jiderhamn.classloader.RedefiningClassLoader
M
- markAsZombie() - Method in class se.jiderhamn.classloader.RedefiningClassLoader
-
Mark this class loader as being ready for garbage collection
- methodInvoker(FrameworkMethod, Object) - Method in class se.jiderhamn.classloader.leak.JUnitClassloaderRunner
- modifyClass(JavaClass) - Method in class se.jiderhamn.classloader.RedefiningClassLoader
P
- packages() - Element in annotation type se.jiderhamn.classloader.PackagesLoadedOutsideClassLoader
-
Packages to be ignored by
RedefiningClassLoader, on the form "foo.bar." - PackagesLoadedOutsideClassLoader - Annotation Type in se.jiderhamn.classloader
-
Annotation that defines what packages packages to be ignored by
RedefiningClassLoader, so that they will be loaded by the parent/systemClassLoader
R
- RedefiningClassLoader - Class in se.jiderhamn.classloader
-
Classloader that redefines classes even if existing in parent
- RedefiningClassLoader() - Constructor for class se.jiderhamn.classloader.RedefiningClassLoader
- RedefiningClassLoader(ClassLoader) - Constructor for class se.jiderhamn.classloader.RedefiningClassLoader
- RedefiningClassLoader(ClassLoader, String) - Constructor for class se.jiderhamn.classloader.RedefiningClassLoader
- RedefiningClassLoader(ClassLoader, String, String[]) - Constructor for class se.jiderhamn.classloader.RedefiningClassLoader
S
- se.jiderhamn - package se.jiderhamn
- se.jiderhamn.classloader - package se.jiderhamn.classloader
- se.jiderhamn.classloader.leak - package se.jiderhamn.classloader.leak
T
- toString() - Method in class se.jiderhamn.classloader.RedefiningClassLoader
V
- value() - Element in annotation type se.jiderhamn.classloader.leak.LeakPreventor
- value() - Element in annotation type se.jiderhamn.classloader.leak.Leaks
-
Is this test expected to leak classloaders?
Z
- ZombieMarker - Class in se.jiderhamn.classloader
-
Class used to help identify leaked class loaders in a heap dump.
- ZombieMarker() - Constructor for class se.jiderhamn.classloader.ZombieMarker
All Classes and Interfaces|All Packages|Constant Field Values