comparison src/share/vm/runtime/vframe.cpp @ 793:eacd97c88873

6848466: frame::frame_size() assertion failure with -XX:+DebugDeoptimization Summary: add a RegisterMap* argument to frame::frame_size() to correctly compute the sender frame Reviewed-by: never
author cfang
date Fri, 05 Jun 2009 10:25:39 -0700
parents d1605aabd0a1
children b109e761e927
comparison
equal deleted inserted replaced
792:085dd9ee61aa 793:eacd97c88873
557 } else { 557 } else {
558 tty->print("(Native Method)"); 558 tty->print("(Native Method)");
559 } 559 }
560 // Check frame size and print warning if it looks suspiciously large 560 // Check frame size and print warning if it looks suspiciously large
561 if (fr().sp() != NULL) { 561 if (fr().sp() != NULL) {
562 uint size = fr().frame_size(); 562 RegisterMap map = *register_map();
563 uint size = fr().frame_size(&map);
563 #ifdef _LP64 564 #ifdef _LP64
564 if (size > 8*K) warning("SUSPICIOUSLY LARGE FRAME (%d)", size); 565 if (size > 8*K) warning("SUSPICIOUSLY LARGE FRAME (%d)", size);
565 #else 566 #else
566 if (size > 4*K) warning("SUSPICIOUSLY LARGE FRAME (%d)", size); 567 if (size > 4*K) warning("SUSPICIOUSLY LARGE FRAME (%d)", size);
567 #endif 568 #endif