Fwd: RFR: 8181085: Race condition in method resolution may produce spurious NullPointerException
Martin Buchholz
martinrb at google.com
Fri May 26 01:22:44 UTC 2017
On Thu, May 25, 2017 at 6:04 PM, David Holmes <david.holmes at oracle.com>
wrote:
> On 26/05/2017 4:55 AM, Martin Buchholz wrote:
>
>> [+jdk8u-dev]
>>
>> We've been hunting the elusive spurious NPEs as well; the following seems
>> to be working for us (but we don't have any small repro recipe); something
>> like this should be put into jdk8:
>>
>
> In other words you want a backport of: 8061964: Insufficient compiler
> barriers for GCC in OrderAccess functions …
>
> https://bugs.openjdk.java.net/browse/JDK-8061964
>
> IIRC what stopped this from being an 'automatic' backport candidate was
> the potential problem of older gcc's needing to be validated.
>
Sure, __asm__ is non-portable, and it's easy to break other peoples'
toolchains. But "it works for us" ...
More information about the hotspot-dev
mailing list