idealistyy at gmail.com
Thu Aug 26 10:23:23 PDT 2010
I added a printf statement into the LinkResolver::resolve_invokestatic(),
hoping that it would hook a static method call when a invokestatic bytecode
happens. However, it prints out more statements than I expected, and the
.class file tested actually doesn't have any static method calls (according
to javap also). So, my question is, why does resolve_invokestatic() be
called even if there is no invokestatic bytecode?
Also, do you think adding instrumentation hooks into LinkResolver is a good
idea to record the method calls information during the runtime? Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-dev