We observed test failures with NullPointerException when running the test with experimental ZGC on PPC64:
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".