RFR [sh/8u]: Correct order between load, LRB and membar nodes

Aleksey Shipilev shade at redhat.com
Mon Oct 28 14:34:41 UTC 2019


On 10/28/19 2:34 PM, Roman Kennke wrote:
> Right. That is a problem. Let's do something else then:
> http://cr.openjdk.java.net/~rkennke/lrb-membars/webrev.01/
> 
> This extracts the original load from the LRB before feeding into the membar.

Um, no. This applies LRB only when is_volatile is true, which is obviously incorrect.

Don't we need to feed the LRB result to set_result too? Or is it handled in some non-obvious way?

-- 
Thanks,
-Aleksey



More information about the shenandoah-dev mailing list