This too is thanks to JSR-133. In fact, it seems that, thanks to this part of JSR-133, what I said above about marking shared volatile is actually unnecessary. There must be a memory barrier somewhere, under the hood, though.
https://godbolt.org/#g:!((g:!((g:!((h:codeEditor,i:(filename...