Mercurial > hg > truffle
diff src/share/vm/runtime/deoptimization.cpp @ 3153:5ca1332171c8
Fixed an issue in the HotSpot code for rethrowing an exception at deopt (wrong values on the expression stack caused a crash when GC and deopt happened at the same time).
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Tue, 05 Jul 2011 18:55:22 +0200 |
parents | 4b63eb1197ca |
children | 132aa6f2bbc0 |
line wrap: on
line diff
--- a/src/share/vm/runtime/deoptimization.cpp Tue Jul 05 16:41:53 2011 +0200 +++ b/src/share/vm/runtime/deoptimization.cpp Tue Jul 05 18:55:22 2011 +0200 @@ -1244,7 +1244,7 @@ if (trap_scope->rethrow_exception()) { if (TraceDeoptimization) { - tty->print_cr("Exception to be rethrown in the interpreter"); + tty->print_cr("Exception to be rethrown in the interpreter for method %s::%s at bci %d", instanceKlass::cast(trap_method->method_holder())->name()->as_C_string(), trap_method->name()->as_C_string(), trap_bci); } GrowableArray<ScopeValue*>* expressions = trap_scope->expressions(); ScopeValue* topOfStack = expressions->top();