RFR (XXS): 8026376: assert(false) failed: DEBUG MESSAGE: exception pc already set

Roland Westrelin roland.westrelin at oracle.com
Tue Oct 15 08:18:16 PDT 2013


> Right.  So the fix is:
> 
> diff -r f50418dfb1b7 src/cpu/sparc/vm/sharedRuntime_sparc.cpp
> --- 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 17:35:02 2013 -0700
> @@ -3581,6 +3581,7 @@ void SharedRuntime::generate_deopt_blob(
>   // 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


That looks good to me.

Roland.


More information about the hotspot-compiler-dev mailing list