diff src/cpu/sparc/vm/sharedRuntime_sparc.cpp @ 12884:e504cd481ec0

8026376: assert(false) failed: DEBUG MESSAGE: exception pc already set Reviewed-by: kvn
author twisti
date Mon, 14 Oct 2013 19:30:05 -0700
parents 46c544b8fbfc
children e2509677809c 2b8e28fdf503
line wrap: on
line diff
--- a/src/cpu/sparc/vm/sharedRuntime_sparc.cpp	Sun Oct 13 13:22:24 2013 -0700
+++ b/src/cpu/sparc/vm/sharedRuntime_sparc.cpp	Mon Oct 14 19:30:05 2013 -0700
@@ -3581,6 +3581,7 @@
   // the pending exception will be picked up the interpreter.
   __ ld_ptr(G2_thread, in_bytes(JavaThread::exception_oop_offset()), Oexception);
   __ st_ptr(G0, G2_thread, in_bytes(JavaThread::exception_oop_offset()));
+  __ st_ptr(G0, G2_thread, in_bytes(JavaThread::exception_pc_offset()));
   __ bind(noException);
 
   // deallocate the deoptimization frame taking care to preserve the return values