Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/matcher.hpp @ 3849:f1c12354c3f7
7074017: Introduce MemBarAcquireLock/MemBarReleaseLock nodes for monitor enter/exit code paths
Summary: replace MemBarAcquire/MemBarRelease nodes on the monitor enter/exit code paths with new MemBarAcquireLock/MemBarReleaseLock nodes
Reviewed-by: kvn, twisti
author | roland |
---|---|
date | Tue, 02 Aug 2011 18:36:40 +0200 |
parents | 1d1603768966 |
children | 95134e034042 |
line wrap: on
line diff
--- a/src/share/vm/opto/matcher.hpp Mon Aug 08 13:19:46 2011 -0700 +++ b/src/share/vm/opto/matcher.hpp Tue Aug 02 18:36:40 2011 +0200 @@ -441,16 +441,6 @@ 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.