6848466: frame::frame_size() assertion failure with -XX:+DebugDeoptimization

Add a RegisterMap* argument to frame::frame_size() to correctly compute the sender frame

Reviewed-by: never
This commit is contained in:
Changpeng Fang 2009-06-05 10:25:39 -07:00
parent 73a6885c23
commit 0429abd38a
4 changed files with 6 additions and 6 deletions

View file

@ -559,7 +559,8 @@ void javaVFrame::print_value() const {
}
// Check frame size and print warning if it looks suspiciously large
if (fr().sp() != NULL) {
uint size = fr().frame_size();
RegisterMap map = *register_map();
uint size = fr().frame_size(&map);
#ifdef _LP64
if (size > 8*K) warning("SUSPICIOUSLY LARGE FRAME (%d)", size);
#else