profile interpreter and JIT
Xin Tong
xerox.time.tech at gmail.com
Thu Aug 23 11:55:27 PDT 2012
this code is not used to register the interpreter routines right now. is it ?
Xin
On Thu, Aug 23, 2012 at 10:29 AM, Krystal Mo <krystal.mo at oracle.com> wrote:
> 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