Integrated: 8274773: [TESTBUG] UnsafeIntrinsicsTest intermittently fails on weak memory model platform

Martin Doerr mdoerr at openjdk.java.net
Mon Oct 11 10:35:19 UTC 2021


On Tue, 5 Oct 2021 12:27:05 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> The test creates new Nodes and publishes them to concurrent readers. This requires at least release and load_consume. A clean fix would be to make `Node.next` volatile. But that would be a sledgehammer. A minimalistic fix for our supported weak memory model platforms is to insert a `storeFence`. What is better?
> (See JBS for failure description.)

This pull request has now been integrated.

Changeset: 49f8ce6e
Author:    Martin Doerr <mdoerr at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/49f8ce6e9c797cd11ea586e3cf87398888bc8cf1
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8274773: [TESTBUG] UnsafeIntrinsicsTest intermittently fails on weak memory model platform

Reviewed-by: eosterlund, goetz

-------------

PR: https://git.openjdk.java.net/jdk/pull/5823



More information about the hotspot-gc-dev mailing list