4 komentáře “The secret of Groovy script refresh

  1. Hi, thanks for the post. I’ve attempted to execute OOM test with HashMaps for Instances and Classes and I see that Classloaders actually get collected (number of instances varies between 100 to 1000 and does not increase beyond that). So looks like there is no classloader leak in this case?

    • Post somewhere your version of the test, please. I am really sure that holding references to instances of classes created by some classloader will block this particular classloader from being garbage collected.