mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7074017: Introduce MemBarAcquireLock/MemBarReleaseLock nodes for monitor enter/exit code paths
Replace MemBarAcquire/MemBarRelease nodes on the monitor enter/exit code paths with new MemBarAcquireLock/MemBarReleaseLock nodes Reviewed-by: kvn, twisti
This commit is contained in:
parent
9cd1a00e3f
commit
b543a07b9a
11 changed files with 45 additions and 83 deletions
|
@ -441,16 +441,6 @@ public:
|
|||
else { fatal("SoftMatchFailure is not allowed except in product"); }
|
||||
}
|
||||
|
||||
// Used by the DFA in dfa_sparc.cpp. Check for a prior FastLock
|
||||
// acting as an Acquire and thus we don't need an Acquire here. We
|
||||
// retain the Node to act as a compiler ordering barrier.
|
||||
static bool prior_fast_lock( const Node *acq );
|
||||
|
||||
// Used by the DFA in dfa_sparc.cpp. Check for a following
|
||||
// FastUnLock acting as a Release and thus we don't need a Release
|
||||
// here. We retain the Node to act as a compiler ordering barrier.
|
||||
static bool post_fast_unlock( const Node *rel );
|
||||
|
||||
// Check for a following volatile memory barrier without an
|
||||
// intervening load and thus we don't need a barrier here. We
|
||||
// retain the Node to act as a compiler ordering barrier.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue