< prev index next >
src/cpu/aarch64/vm/templateInterpreter_aarch64.cpp
Print this page
rev 9593 : 8144582: AArch64 does not generate correct branch profile data
Reviewed-by: kvn
@@ -390,11 +390,11 @@
__ ldrw(rscratch2, Address(rscratch2, in_bytes(MethodCounters::interpreter_profile_limit_offset())));
__ cmpw(r0, rscratch2);
__ br(Assembler::LT, *profile_method_continue);
// if no method data exists, go to profile_method
- __ test_method_data_pointer(r0, *profile_method);
+ __ test_method_data_pointer(rscratch2, *profile_method);
}
{
__ ldr(rscratch2, Address(rmethod, Method::method_counters_offset()));
__ ldrw(rscratch2, Address(rscratch2, in_bytes(MethodCounters::interpreter_invocation_limit_offset())));
< prev index next >