RFR: 8366035: Simplify CPUTimeCounters::publish_gc_total_cpu_time [v2]
    Kim Barrett 
    kbarrett at openjdk.org
       
    Mon Aug 25 09:58:52 UTC 2025
    
    
  
On Mon, 25 Aug 2025 08:45:47 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
>
> Guanqiang Han has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update cpuTimeCounters.cpp
>   
>   a small fix
Looks good.
-------------
Marked as reviewed by kbarrett (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/26921#pullrequestreview-3150736983
    
    
More information about the hotspot-runtime-dev
mailing list