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

Goetz Lindenmaier goetz at openjdk.org
Tue Mar 4 17:18:16 UTC 2025


I backport this for parity with 17.0.16-oracle.

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

Commit messages:
 - Backport dd18d76b4c1dfa79707634bcd4df4f8e7cfb8b70

Changes: https://git.openjdk.org/jdk17u-dev/pull/3320/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3320&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8297173
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/3320.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3320/head:pull/3320

PR: https://git.openjdk.org/jdk17u-dev/pull/3320


More information about the jdk-updates-dev mailing list