mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +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
|
@ -237,9 +237,8 @@ bool frame::is_interpreted_frame() const {
|
|||
return Interpreter::contains(pc());
|
||||
}
|
||||
|
||||
int frame::frame_size() const {
|
||||
RegisterMap map(JavaThread::current(), false);
|
||||
frame sender = this->sender(&map);
|
||||
int frame::frame_size(RegisterMap* map) const {
|
||||
frame sender = this->sender(map);
|
||||
return sender.sp() - sp();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue