-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 18
-
b19
-
ppc, aarch64
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8275394 | 17.0.2 | Martin Doerr | P4 | Resolved | Fixed | b03 |
JDK-8277841 | 11.0.14 | Martin Doerr | P4 | Resolved | Fixed | b05 |
java.lang.NullPointerException: Cannot invoke "compiler.gcbarriers.Node.next()" because "this.current" is null
at compiler.gcbarriers.Runner.run(UnsafeIntrinsicsTest.java:226)
It failed while "Testing Load with 4 thread and 133700 nodes".
During "testWithSharedData", "mergeImplLoad" calls "setNext" to install newly created Nodes without any memory barrier. Note that the field "Node.next" is not volatile. The JMM does not require concurrent readers to observe any field updates which were done before inserting the new Nodes. So, it's legal that the concurrent reader sees "Node.next == null".
- backported by
-
JDK-8275394 [TESTBUG] UnsafeIntrinsicsTest intermittently fails on weak memory model platform
-
- Resolved
-
-
JDK-8277841 [TESTBUG] UnsafeIntrinsicsTest intermittently fails on weak memory model platform
-
- Resolved
-
- relates to
-
JDK-8274851 [ppc64] Port zgc to linux on ppc64le
-
- Resolved
-
- links to
-
Commit openjdk/jdk11u-dev/19a19699
-
Commit openjdk/jdk17u/6dbb3d0c
-
Commit openjdk/jdk/49f8ce6e
-
Review openjdk/jdk11u-dev/650
-
Review openjdk/jdk17u/194
-
Review openjdk/jdk/5823