On Thu, 17 Nov 2022 06:28:37 GMT, Poison <[email protected]> wrote:

> As the title says, add the volatile modifier.

This pull request has now been integrated.

Changeset: dd18d76b
Author:    tianshuang <[email protected]>
Committer: Severin Gehwolf <[email protected]>
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

Reply via email to