RFR: 8170098: AArch64: VM is extremely slow with JVMTI debugging enabled

Andrew Haley aph at redhat.com
Tue Nov 22 10:08:39 UTC 2016


On 21/11/16 19:17, Dmitry Samersoff wrote:
> On 2016-11-21 22:00, Andrew Haley wrote:
>>
>> On 21/11/16 18:46, Dmitry Samersoff wrote:
>>
>>> Should the code in MethodHandles::jump_from_method_handle() be changed
>>> as well?
>>
>> I can't see where.  We don't seem to be calling a native function in
>> there.  
>> Can you tell me more about the code path you have in mind?
> 
> methodHandles_aarch64.cpp:106
> 
>  __ ldrb(rscratch1, Address(rthread, JavaThread::interp_only_mode_offset()));
> 
> __ cbnz(rscratch1, run_compiled_code);

Oh, I see.  I guess it would have been a good idea for me to change this,
but unless we see a big-endian ARM it doesn't matter.

Thanks,

Andrew.




More information about the hotspot-dev mailing list