capturing method entry/exit for the compiled method

Mark Wielaard mark at
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:
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.



More information about the hotspot-compiler-dev mailing list