git: openjdk/jdk17u-dev: 8297173: usageTicks and totalTicks should be volatile to ensure that different threads get the latest ticks

Goetz Lindenmaier goetz at openjdk.org
Mon Mar 10 14:15:55 UTC 2025


Changeset: 04a1b0d3
Branch: master
Author:    Goetz Lindenmaier <goetz at openjdk.org>
Date:      2025-03-10 14:15:07 +0000
URL:       https://git.openjdk.org/jdk17u-dev/commit/04a1b0d3a69f42c8fb3541ec58ea08dcc3fcc8d0

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

Backport-of: dd18d76b4c1dfa79707634bcd4df4f8e7cfb8b70

! src/jdk.management/unix/classes/com/sun/management/internal/OperatingSystemImpl.java



More information about the jdk-updates-changes mailing list