mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
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:
parent
73a6885c23
commit
0429abd38a
4 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue