changeset 5488: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 f50418dfb1b7
children 8df6f123d35e f91a9a696e5e
files src/cpu/sparc/vm/sharedRuntime_sparc.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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