RFR (XXS): 8139386: JVMCI test failed with assert(_jvmci._alternate_call_target == 0L) failed: must be

Christian Thalinger christian.thalinger at oracle.com
Tue Oct 13 22:54:20 UTC 2015


https://bugs.openjdk.java.net/browse/JDK-8139386

The wrong store instruction was used to clear the value.

diff -r e53bc007035a src/cpu/sparc/vm/sharedRuntime_sparc.cpp
--- a/src/cpu/sparc/vm/sharedRuntime_sparc.cpp	Tue Oct 13 09:21:10 2015 -1000
+++ b/src/cpu/sparc/vm/sharedRuntime_sparc.cpp	Tue Oct 13 12:51:38 2015 -1000
@@ -1001,7 +1001,7 @@ void AdapterGenerator::gen_i2c_adapter(i
     __ delayed()->nop();
 
     __ ld_ptr(G2_thread, in_bytes(JavaThread::jvmci_alternate_call_target_offset()), G3);
-    __ st(G0, Address(G2_thread, in_bytes(JavaThread::jvmci_alternate_call_target_offset())));
+    __ st_ptr(G0, Address(G2_thread, in_bytes(JavaThread::jvmci_alternate_call_target_offset())));
 
     __ bind(no_alternative_target);
   }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20151013/e1bbd1b2/attachment.html>


More information about the hotspot-compiler-dev mailing list