Integrated: 8366035: Simplify CPUTimeCounters::publish_gc_total_cpu_time
Guanqiang Han
ghan at openjdk.org
Tue Aug 26 08:38:40 UTC 2025
On Mon, 25 Aug 2025 08:10:17 GMT, Guanqiang Han <ghan at openjdk.org> wrote:
> This change refactors CPUTimeCounters::publish_gc_total_cpu_time() to use Atomic::xchg instead of a CAS (cmpxchg) loop.
> Please review it. Thanks
This pull request has now been integrated.
Changeset: 2ae3ea2a
Author: Guanqiang Han <ghan at openjdk.org>
Committer: Albert Mingkun Yang <ayang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/2ae3ea2ad93b83deec1922159d80b94da0397357
Stats: 8 lines in 1 file changed: 0 ins; 6 del; 2 mod
8366035: Simplify CPUTimeCounters::publish_gc_total_cpu_time
Reviewed-by: ayang, kbarrett
-------------
PR: https://git.openjdk.org/jdk/pull/26921
More information about the hotspot-runtime-dev
mailing list