Integrated: 8297173: usageTicks and totalTicks should be volatile to ensure that different threads get the latest ticks
Poison
duke at openjdk.org
Fri Nov 18 10:48:29 UTC 2022
On Thu, 17 Nov 2022 06:28:37 GMT, Poison <duke at openjdk.org> wrote:
> As the title says, add the volatile modifier.
This pull request has now been integrated.
Changeset: dd18d76b
Author: tianshuang <tianshuang.me at gmail.com>
Committer: Severin Gehwolf <sgehwolf at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/dd18d76b4c1dfa79707634bcd4df4f8e7cfb8b70
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
8297173: usageTicks and totalTicks should be volatile to ensure that different threads get the latest ticks
Reviewed-by: sgehwolf, alanb
-------------
PR: https://git.openjdk.org/jdk/pull/11199
More information about the serviceability-dev
mailing list