capturing method entry/exit for the compiled method

Tony Guan guanxiaohua at
Fri Sep 4 07:53:35 PDT 2009

Hi Mark,

Thank you for reply! Sadly I am using linux (Fedora Core 8). :-(  And
Dtrace is not supported. But I'll look into the OpenJDK code to find
some clue starting from the dtrace.

And of course, the Systemtap.

Thanks again!


On Fri, Sep 4, 2009 at 2:35 AM, Mark Wielaard<mark at> wrote:
> 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.
> Cheers,
> Mark

More information about the hotspot-compiler-dev mailing list