mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +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
|
@ -59,7 +59,7 @@ inline bool frame::is_younger(intptr_t* id) const { assert(this->id() != NULL &&
|
|||
inline bool frame::is_older(intptr_t* id) const { assert(this->id() != NULL && id != NULL, "NULL frame id");
|
||||
return this->id() > id ; }
|
||||
|
||||
inline int frame::frame_size() const { return sender_sp() - sp(); }
|
||||
inline int frame::frame_size(RegisterMap* map) const { return sender_sp() - sp(); }
|
||||
|
||||
inline intptr_t* frame::link() const { return (intptr_t *)(fp()[FP->sp_offset_in_saved_window()] + STACK_BIAS); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue