capturing method entry/exit for the compiled method
guanxiaohua at gmail.com
Fri Sep 4 07:53:35 PDT 2009
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.
On Fri, Sep 4, 2009 at 2:35 AM, Mark Wielaard<mark at klomp.org> 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.
More information about the hotspot-compiler-dev