Integrated: 8304591: (fs) UnixPath.stringValue need not be volatile

Sergey Tsypanov stsypanov at openjdk.org
Tue Mar 28 11:17:51 UTC 2023


On Tue, 21 Mar 2023 09:00:19 GMT, Sergey Tsypanov <stsypanov at openjdk.org> wrote:

> `UnixPath.stringValue` can be computed by multiple threads safely as the actual value is the same, so the race is benign in this case.

This pull request has now been integrated.

Changeset: 395a4ce0
Author:    Sergey Tsypanov <stsypanov at openjdk.org>
Committer: Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/395a4ce0dd4181bbb4bc0888038309901ebf8fea
Stats:     5 lines in 1 file changed: 1 ins; 0 del; 4 mod

8304591: (fs) UnixPath.stringValue need not be volatile

Reviewed-by: alanb, bpb, shade

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

PR: https://git.openjdk.org/jdk/pull/13115


More information about the nio-dev mailing list