RFR: 8270446: Remove the MemBarNode that has been optimized from the current block

Andrew Haley aph at openjdk.java.net
Thu Jul 15 12:19:15 UTC 2021


On Thu, 15 Jul 2021 08:13:31 GMT, SUN Guoyun <github.com+40024232+sunny868 at openjdk.org> wrote:

> For continuous and same type membar, like"membar_release membar_release",maybe http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/93ae449c9b52 was also only a workround. I`ll try to fix it in share/opto.

It was actually fixed by this:
http://hg.openjdk.java.net/jdk/hs/rev/8f1bc5a0d16d

And no, I agree with Vladimir. There's nothing to fix. OptoAssembly isn't supposed to be the exact instructions we generate: PrintAssembly does that.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4774


More information about the hotspot-compiler-dev mailing list