puniverse / quasar

Fibers, Channels and Actors for the JVM
http://docs.paralleluniverse.co/quasar/
Other
4.56k stars 575 forks source link

Add an option to JavaAgent so that it can exclude entire ClassLoaders. #331

Open chrisr3 opened 4 years ago

chrisr3 commented 4 years ago

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.