8139386: JVMCI test failed with assert(_jvmci._alternate_call_target == 0L) failed: must be
Reviewed-by: kvn
--- a/hotspot/src/cpu/sparc/vm/sharedRuntime_sparc.cpp Wed Oct 14 09:22:21 2015 -1000
+++ b/hotspot/src/cpu/sparc/vm/sharedRuntime_sparc.cpp Wed Oct 14 12:29:18 2015 -1000
@@ -1001,7 +1001,7 @@
__ 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);
}