Mercurial > hg > truffle
diff src/share/vm/runtime/frame.cpp @ 1255:e3a4305c6bc3
6925249: assert(last_sp < (intptr_t*) interpreter_frame_monitor_begin(),"bad tos")
Summary: Fix assert since top deoptimized frame has last_sp == interpreter_frame_monitor_begin if there are no expressions.
Reviewed-by: twisti
author | kvn |
---|---|
date | Fri, 12 Feb 2010 08:54:13 -0800 |
parents | 18a389214829 |
children | cff162798819 2338d41fbd81 |
line wrap: on
line diff
--- a/src/share/vm/runtime/frame.cpp Tue Feb 09 10:21:06 2010 -0800 +++ b/src/share/vm/runtime/frame.cpp Fri Feb 12 08:54:13 2010 -0800 @@ -606,12 +606,12 @@ for (BasicObjectLock* current = interpreter_frame_monitor_end(); current < interpreter_frame_monitor_begin(); current = next_monitor_in_interpreter_frame(current)) { - st->print_cr(" [ - obj "); + st->print(" - obj ["); current->obj()->print_value_on(st); - st->cr(); - st->print_cr(" - lock "); + st->print_cr("]"); + st->print(" - lock ["); current->lock()->print_on(st); - st->cr(); + st->print_cr("]"); } // monitor st->print_cr(" - monitor[" INTPTR_FORMAT "]", interpreter_frame_monitor_begin());