RFR: 8181085: Race condition in method resolution may produce spurious NullPointerException

Andrew Haley aph at redhat.com
Sat May 27 06:44:54 UTC 2017


On 27/05/17 03:44, Kim Barrett wrote:
> It might be worthwhile backporting the compile barriers to jdk8.

Certainly, IMO.  They're necessary for correctness.  Standard C++ now
treats all code with data races as undefined behaviour, and we've got
to get used to that.  The more we tell the C++ compiler about what we
want, the more it can optimize and the faster our JVMs will be.

-- 
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 jdk10-dev mailing list