RFR: 8206406: StubCodeDesc constructor publishes partially-constructed objects on StubCodeDesc::_list
Andrew Haley
aph at redhat.com
Fri Jul 6 12:41:29 UTC 2018
On 07/06/2018 03:15 AM, David Holmes wrote:
> Well ... I never like to see a release_store without a corresponding
> load_acquire.
Neither do, I, but making _list volatile is enough to ensure that the
load is effectively a consume operation on every platform supported by
8. We really need to add consume to our memory ordering operators, but
not for 8.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the jdk8u-dev
mailing list