RFR: 8297173: usageTicks and totalTicks should be volatile to ensure that different threads get the latest ticks [v2]
Alan Bateman
alanb at openjdk.org
Thu Nov 17 10:14:35 UTC 2022
On Thu, 17 Nov 2022 09:43:39 GMT, Poison <duke at openjdk.org> wrote:
>> As the title says, add the volatile modifier.
>
> Poison has updated the pull request incrementally with one additional commit since the last revision:
>
> 8297173: usageTicks and totalTicks should be volatile
Marked as reviewed by alanb (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/11199
More information about the serviceability-dev
mailing list