megamorphic lambda prevention

Mark Roos mroos at roos.com
Thu Jun 21 11:27:16 PDT 2012


Hi Jochen

I was wondering at what depth you would consider a call site to be 
megamorphic?

I have done quite a bit of profiling on Smalltalk ( which uses lots of 
blocks as iterators)
and rarely see depths > 20.

As this depth seems to be time dependent ( at any one time its < 3 but 
over time it grows)
I just invalidate the site when it gets past 20. But I am wondering what 
the best approach
would be.

I would like to do real time gwt chain inspection and modification but I 
don't think that is possible.

regards
mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20120621/1ac4d960/attachment-0001.html 


More information about the mlvm-dev mailing list