8144582: AArch64 does not generate correct branch profile data
authoraph
Wed, 16 Dec 2015 11:35:59 +0000
changeset 35126 a59e56cf260e
parent 35125 6982b109eeee
child 35127 483603d4c7b2
8144582: AArch64 does not generate correct branch profile data Reviewed-by: kvn
hotspot/src/cpu/aarch64/vm/templateInterpreter_aarch64.cpp
--- a/hotspot/src/cpu/aarch64/vm/templateInterpreter_aarch64.cpp	Tue Dec 15 19:18:05 2015 +0000
+++ b/hotspot/src/cpu/aarch64/vm/templateInterpreter_aarch64.cpp	Wed Dec 16 11:35:59 2015 +0000
@@ -392,7 +392,7 @@
       __ 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);
     }
 
     {