<div dir="ltr">I've submitted a jbs for it. <a href="https://bugs.openjdk.org/browse/JDK-8324186">https://bugs.openjdk.org/browse/JDK-8324186</a><div><br></div><div>Thanks,</div><div>Kuai Wei</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 19, 2024 at 5:08 PM Andrew Haley <<a href="mailto:aph-open@littlepinkcloud.com">aph-open@littlepinkcloud.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 1/18/24 10:49, Wei Kuai wrote:<br>
>    I tested "dmb.ishst; dmb.ishld" for release barrier. The test case is jmh of allocation with final fields. <a href="https://gist.github.com/kuaiwei/f71fba40df29991c93325a8600e34c13" rel="noreferrer" target="_blank">https://gist.github.com/kuaiwei/f71fba40df29991c93325a8600e34c13</a> <<a href="https://gist.github.com/kuaiwei/f71fba40df29991c93325a8600e34c13" rel="noreferrer" target="_blank">https://gist.github.com/kuaiwei/f71fba40df29991c93325a8600e34c13</a>><br>
> In N1<br>
>    dmb.ish                    : 1168.059 ops/s<br>
>    dmb.ishst+dmb.ishld: 1321.783 ops/s<br>
>    dmb.ishst                 : 1511.267 ops/s<br>
> In N2<br>
>    dmb.ish                    : 3672.087 ops/s<br>
>    dmb.ishst+dmb.ishld: 4840.322 ops/s<br>
>    dmb.ishst                 : 6005.430 ops/s<br>
> <br>
> The "dmb.ishst+dmb.ishld" can gain 13% and 32% on N1 and N2. It looks a better replacement for "dmb.ish"<br>
<br>
Let's do that, then.<br>
<br>
If you'd like to submit a patch that does this, please make sure to include<br>
the benchmark.<br>
<br>
We should also stop merging 'dmb ld' and 'dmb st' into 'dmb sy'. We still want<br>
to merge duplicated `dmb`s, but the side effect of strengthening is not good.<br>
<br>
-- <br>
Andrew Haley  (he/him)<br>
Java Platform Lead Engineer<br>
Red Hat UK Ltd. <<a href="https://www.redhat.com" rel="noreferrer" target="_blank">https://www.redhat.com</a>><br>
<a href="https://keybase.io/andrewhaley" rel="noreferrer" target="_blank">https://keybase.io/andrewhaley</a><br>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671<br>
<br>
</blockquote></div>