capturing method entry/exit for the compiled method
Mark Wielaard
mark at klomp.org
Fri Sep 4 00:35:27 PDT 2009
On Fri, 2009-09-04 at 00:24 -0700, John Cuthbertson wrote:
> What platform are you running on? If it is Solaris have you tried
> enabling the Dtrace method probes? If not then you could investigate
> instrumenting the runtime routines that get invoked by both
> interpreted and compiled code: SharedRuntime::dtrace_method_entry()
> and SharedRuntime::dtrace_method_exit().
BTW. This now also works on GNU/Linux systems through Systemtap:
http://gnu.wildebeest.org/diary/2009/08/06/i-love-it-when-a-plan-comes-together-systemtap-meets-java/
Patches are in IcedTea atm, I am working on some issue to get JNI
tracing also fully supported and will then push the cleanups to OpenJDK.
Cheers,
Mark
More information about the hotspot-compiler-dev
mailing list