RFR(S): 8173196: [REDO] C2 does not optimize redundant memory operations with G1

Roland Westrelin rwestrel at redhat.com
Wed May 22 09:25:43 UTC 2019


Previous attempt at this was discussed here:

And the follow up bugs with some comments on a possible fix:


The new fix is very similar to the previous one. The 2 differences are:

- aarch64 code shouldn't need any change because of 8209420 ("Track
  membars for volatile accesses so they can be properly optimized")

- The membar only affects the raw memory slice which is now properly
  handled by MachNodes thanks to 8209691 ("Allow MemBar on single memory


More information about the hotspot-compiler-dev mailing list