Smalltalk and tiered compile data
Mark Roos
mroos at roos.com
Tue Feb 7 11:28:08 PST 2012
Christian asked:
What exactly do you mean by "invalidate call sites before the
benchmark"?
Are you using MutableCallSites and call setTarget on them?
Exactly. I am using setTarget to set each call site to its initial
fallback method. This should drop the
GWT lookup chain forcing each call site to rebuild the chain. The method
handles for the code still exist but
the GWTs that reference them are gone. This is my current way to force
the call sites to get new versions
of the method code.
thanks
mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20120207/81c6c350/attachment.html
More information about the mlvm-dev
mailing list