Fwd: RFR: 8181085: Race condition in method resolution may produce spurious NullPointerException (original) (raw)
Martin Buchholz martinrb at google.com
Fri May 26 01:22:44 UTC 2017
- Previous message: Fwd: RFR: 8181085: Race condition in method resolution may produce spurious NullPointerException
- Next message: Fwd: RFR: 8181085: Race condition in method resolution may produce spurious NullPointerException
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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" ...
- Previous message: Fwd: RFR: 8181085: Race condition in method resolution may produce spurious NullPointerException
- Next message: Fwd: RFR: 8181085: Race condition in method resolution may produce spurious NullPointerException
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]