RFR(S): 8209691: Allow MemBar on single memory slice

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Aug 20 20:46:52 UTC 2018


Looks good.

+    !strcmp(_opType,"MemBarStoreStore") ||
+    !strcmp(_opType, "OnSpinWait");
                      ^ remove this space

Thanks,
Vladimir

On 8/20/18 5:31 AM, Roland Westrelin wrote:
> 
> http://cr.openjdk.java.net/~roland/8209691/webrev.00/
> 
> This change propagates MemBarNode::_adr_type after matching. It's then
> possible to have a membar on only a single slice. This is another change
> from the shenandoah repo where we need membars in a common code pattern
> and don't want a wide membar to disrupt most memory related
> optimizations.
> 
> Roland.
> 


More information about the hotspot-compiler-dev mailing list