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

2022-11-18 Thread Poison
On Thu, 17 Nov 2022 06:28:37 GMT, Poison wrote: > As the title says, add the volatile modifier. This pull request has now been integrated. Changeset: dd18d76b Author:tianshuang Committer: Severin Gehwolf URL: https://git.openjdk.org/jdk/com

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

2022-11-17 Thread Poison
On Thu, 17 Nov 2022 09:35:07 GMT, Alan Bateman wrote: >> Poison has updated the pull request incrementally with one additional commit >> since the last revision: >> >> 8297173: usageTicks and totalTicks should be volatile > > src/jdk.management/unix/class

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

2022-11-17 Thread Poison
> 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 - Changes: - all: https://git.openjdk.org/jdk/pull/11199/files -

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

2022-11-16 Thread Poison
As the title says, add the volatile modifier. - Commit messages: - 8297173: usageTicks and totalTicks should be volatile Changes: https://git.openjdk.org/jdk/pull/11199/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11199&range=00 Issue: https://bugs.openjdk.org/browse/JD