profile interpreter and JIT
Christian Thalinger
christian.thalinger at oracle.com
Thu Aug 23 12:38:34 PDT 2012
On Aug 23, 2012, at 11:55 AM, Xin Tong <xerox.time.tech at gmail.com> wrote:
> this code is not used to register the interpreter routines right now. is it ?
I don't quite understand. What exactly do you want to measure? Do you mean time that is spent in the various bytecode templates in the interpreter?
-- Chris
>
> 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