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

Andrew Haley aph at redhat.com
Thu May 25 15:33:27 UTC 2017


On 25/05/17 16:03, Andrew Dinn wrote:
> The jdk10 implementation of release_Store_ptr has indeed already been
> reworked to insert a compiler barrier (using "asm volatile memory") but
> not a memory store barrier.

Cool.  An asm volatile memory barrier is a bit stronger than is
perhaps needed, but it almost certainly will make no difference,
and is compatible with old releases of GCC.

Andrew.


More information about the jdk10-dev mailing list