mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
6672848: (Escape Analysis) improve lock elimination with EA
Remove lock/unlock MemBar nodes and specify locks in debug info for deoptimization. Reviewed-by: never
This commit is contained in:
parent
fc0117cb9a
commit
20046c1a18
6 changed files with 123 additions and 92 deletions
|
@ -36,7 +36,8 @@ const RegMask &BoxLockNode::out_RegMask() const {
|
|||
|
||||
uint BoxLockNode::size_of() const { return sizeof(*this); }
|
||||
|
||||
BoxLockNode::BoxLockNode( int slot ) : Node( Compile::current()->root() ), _slot(slot) {
|
||||
BoxLockNode::BoxLockNode( int slot ) : Node( Compile::current()->root() ),
|
||||
_slot(slot), _is_eliminated(false) {
|
||||
init_class_id(Class_BoxLock);
|
||||
init_flags(Flag_rematerialize);
|
||||
OptoReg::Name reg = OptoReg::stack2reg(_slot);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue