changeset 20711:e1563e3652c1

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 550442bd8ffc
children a06e1f01fb6e 9cd6eb694494
files hotspot/src/cpu/sparc/vm/sharedRuntime_sparc.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/cpu/sparc/vm/sharedRuntime_sparc.cpp	Sun Oct 13 13:22:24 2013 -0700
+++ b/hotspot/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