The JavaAgent holds strong references to the ClassLoaders of the classes that it instruments. This prevents dynamically created ClassLoaders from being unloaded afterwards, and so creates a severe memory leak.
Add a command-line option to the JavaAgent so that we can exclude ClassLoaders by their class name.
The JavaAgent holds strong references to the ClassLoaders of the classes that it instruments. This prevents dynamically created ClassLoaders from being unloaded afterwards, and so creates a severe memory leak.
Add a command-line option to the JavaAgent so that we can exclude ClassLoaders by their class name.