8140611: aarch64: jtreg test jdk/tools/pack200/UnpackerMemoryTest.java SEGVs
authorenevill
Tue, 27 Oct 2015 18:05:20 +0000
changeset 33472 4300fda0e8bb
parent 33471 e70067b81b0b
child 33473 4511002b3632
child 33474 6a1f70c3c73e
8140611: aarch64: jtreg test jdk/tools/pack200/UnpackerMemoryTest.java SEGVs Summary: Fix register usage on calling native synchronized methods Reviewed-by: kvn, adinn
hotspot/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp
--- a/hotspot/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp	Tue Oct 27 10:08:48 2015 +0000
+++ b/hotspot/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp	Tue Oct 27 18:05:20 2015 +0000
@@ -1777,7 +1777,7 @@
   const Register obj_reg  = r19;  // Will contain the oop
   const Register lock_reg = r13;  // Address of compiler lock object (BasicLock)
   const Register old_hdr  = r13;  // value of old header at unlock time
-  const Register tmp = c_rarg3;
+  const Register tmp = lr;
 
   Label slow_path_lock;
   Label lock_done;