2 ms·
> It sounds like the solution they adopted was to instantiate a brand new classloader each time a dynamic class is evaluated ... I was confused too (and I may
by TacticalCoder 2y ago
> It sounds like the solution they adopted was to instantiate a brand new classloader each time a dynamic class is evaluated ...
I was confused too (and I may still be) but that's now how I understood their solution.
Their solution, IIUC from reading TFA, is that they simply didn't use eval at all anymore. So the whole "eval loads a new classloader" thinggy (so that it can be GC'ed later on) is totally moot.