On 18/02/15 20:59, Vladimir Kozlov wrote:
> The code which eliminates MemBars for scalarized objects was added in jdk8:
> 
> http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/6f3fd5150b67
> 
> An other store barrier change was also pushed into jdk8:
> 
> http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/fcf521c3fbc6
> 
> I don't remember we did anything special with membars in jdk9.

OK, so the question of why it isn't being removed in this case
is interesting.  We can look at that later.

Andrew.

Reply via email to