Defining anonymous classes

Mark Roos mroos at
Tue Aug 19 19:39:03 UTC 2014

Hi Raffaello,

Sharing one class as a holder for many methods would be worth looking at 
the class overhead became significant.  Concerns would be in making sure
replaced methods are collected and in housekeeping.

If John moves to providing a 'method loader' then this would be something
to look into though I would probably just keep an array of method handles.
Hopefully there would be no links from the class to the method which would
prevent GC.

For now it does not seem to be an issue.  The next time I find myself 
profiling I may take a look at the memory usage

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the mlvm-dev mailing list