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

Severin Gehwolf sgehwolf at openjdk.org
Thu Nov 17 09:12:23 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.

Seems OK to me.

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

Marked as reviewed by sgehwolf (Reviewer).

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


More information about the serviceability-dev mailing list