--- a/hotspot/src/cpu/x86/vm/frame_x86.inline.hpp Tue Feb 09 10:21:06 2010 -0800
+++ b/hotspot/src/cpu/x86/vm/frame_x86.inline.hpp Fri Feb 12 08:54:13 2010 -0800
@@ -233,7 +233,8 @@
} else {
// sp() may have been extended or shrunk by an adapter. At least
// check that we don't fall behind the legal region.
- assert(last_sp < (intptr_t*) interpreter_frame_monitor_begin(), "bad tos");
+ // For top deoptimized frame last_sp == interpreter_frame_monitor_end.
+ assert(last_sp <= (intptr_t*) interpreter_frame_monitor_end(), "bad tos");
return last_sp;
}
}