Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
1254:4ee1c645110e | 1255:e3a4305c6bc3 |
---|---|
604 } | 604 } |
605 // locks for synchronization | 605 // locks for synchronization |
606 for (BasicObjectLock* current = interpreter_frame_monitor_end(); | 606 for (BasicObjectLock* current = interpreter_frame_monitor_end(); |
607 current < interpreter_frame_monitor_begin(); | 607 current < interpreter_frame_monitor_begin(); |
608 current = next_monitor_in_interpreter_frame(current)) { | 608 current = next_monitor_in_interpreter_frame(current)) { |
609 st->print_cr(" [ - obj "); | 609 st->print(" - obj ["); |
610 current->obj()->print_value_on(st); | 610 current->obj()->print_value_on(st); |
611 st->cr(); | 611 st->print_cr("]"); |
612 st->print_cr(" - lock "); | 612 st->print(" - lock ["); |
613 current->lock()->print_on(st); | 613 current->lock()->print_on(st); |
614 st->cr(); | 614 st->print_cr("]"); |
615 } | 615 } |
616 // monitor | 616 // monitor |
617 st->print_cr(" - monitor[" INTPTR_FORMAT "]", interpreter_frame_monitor_begin()); | 617 st->print_cr(" - monitor[" INTPTR_FORMAT "]", interpreter_frame_monitor_begin()); |
618 // bcp | 618 // bcp |
619 st->print(" - bcp [" INTPTR_FORMAT "]", interpreter_frame_bcp()); | 619 st->print(" - bcp [" INTPTR_FORMAT "]", interpreter_frame_bcp()); |