profile interpreter and JIT
Krystal Mo
krystal.mo at oracle.com
Thu Aug 23 10:29:04 PDT 2012
Hi Xin,
There's a JVMTI event that does the trick: DynamicCodeGenerated
http://docs.oracle.com/javase/7/docs/platform/jvmti/jvmti.html#DynamicCodeGenerated
Use it to do whatever registration needed.
- Kris
On 2012/8/24 0:21, Xin Tong wrote:
> I want to measure the amount of time spend in the interpreter and the
> JIT in hotspot. since the interpreter is dynamically generated when
> the VM starts. how can one get that statistics. maybe oprofile can do
> that, but does not the interpreter need to register the generated
> interpreter routine with the profiler ? is this code in hotspot ?
>
> Xin
More information about the hotspot-compiler-dev
mailing list