git: openjdk/jdk: 8297173: usageTicks and totalTicks should be volatile to ensure that different threads get the latest ticks

Severin Gehwolf sgehwolf at openjdk.org
Fri Nov 18 10:48:48 UTC 2022


Changeset: dd18d76b
Author:    tianshuang <tianshuang.me at gmail.com>
Committer: Severin Gehwolf <sgehwolf at openjdk.org>
Date:      2022-11-18 10:45:36 +0000
URL:       https://git.openjdk.org/jdk/commit/dd18d76b4c1dfa79707634bcd4df4f8e7cfb8b70

8297173: usageTicks and totalTicks should be volatile to ensure that different threads get the latest ticks

Reviewed-by: sgehwolf, alanb

! src/jdk.management/unix/classes/com/sun/management/internal/OperatingSystemImpl.java



More information about the jdk-changes mailing list