mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
7047300: VM crashes with assert(_base == InstPtr) failed: Not an object pointer
The code incorrectly used is_instptr() instead of is_oopptr() to get const_oop. Reviewed-by: never
This commit is contained in:
parent
800a1a0611
commit
69bcf41540
1 changed files with 1 additions and 1 deletions
|
@ -911,7 +911,7 @@ void Compile::Process_OopMap_Node(MachNode *mach, int current_offset) {
|
|||
}
|
||||
} else {
|
||||
const TypePtr *tp = obj_node->bottom_type()->make_ptr();
|
||||
scval = new ConstantOopWriteValue(tp->is_instptr()->const_oop()->constant_encoding());
|
||||
scval = new ConstantOopWriteValue(tp->is_oopptr()->const_oop()->constant_encoding());
|
||||
}
|
||||
|
||||
OptoReg::Name box_reg = BoxLockNode::stack_slot(box_node);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue