ARM: Support for JVMTI notifications from JIT compiler on code generation
Andrew Dinn
adinn at redhat.com
Wed Apr 25 05:49:09 PDT 2012
This is a patch against
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/hotspot
It modifies the ARM JIT to post JVMTI events whenever native code is
generated from Java method bytecode, providing details of the class
andmethod name, the generated code address range and a mapping from
address subranges to bytecode indices. That's enough to allow oprofile
to provide line by line profiling information.
This has been tested with the oprofile Java agent and the resulting
behaviour appears to be compatible with behaviour on x86. However, this
is not a full test as oprofile is not fully working in the latest
available ARM kernel. This means that the data generated by the agent in
response to the JVMTI events has not yet been properly consumed and
processed.
I have asked Andrew Haley to review this patch.
regards,
Andrew Dinn
-----------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120425/ff253d94/patch.txt
More information about the distro-pkg-dev
mailing list