comparison src/share/vm/runtime/deoptimization.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 f70b0d9ab095
children c18cbe5936b8
comparison
equal deleted inserted replaced
1254:4ee1c645110e 1255:e3a4305c6bc3
936 936
937 #ifndef PRODUCT 937 #ifndef PRODUCT
938 if (TraceDeoptimization) { 938 if (TraceDeoptimization) {
939 ttyLocker ttyl; 939 ttyLocker ttyl;
940 tty->print_cr(" Created vframeArray " INTPTR_FORMAT, array); 940 tty->print_cr(" Created vframeArray " INTPTR_FORMAT, array);
941 if (Verbose) {
942 int count = 0;
943 // this used to leak deoptimizedVFrame like it was going out of style!!!
944 for (int index = 0; index < array->frames(); index++ ) {
945 vframeArrayElement* e = array->element(index);
946 e->print(tty);
947
948 /*
949 No printing yet.
950 array->vframe_at(index)->print_activation(count++);
951 // better as...
952 array->print_activation_for(index, count++);
953 */
954 }
955 }
956 } 941 }
957 #endif // PRODUCT 942 #endif // PRODUCT
958 943
959 return array; 944 return array;
960 } 945 }