RFR: 8364638: Refactor and make accumulated GC CPU time code generic [v5]
    Jonas Norlinder 
    duke at openjdk.org
       
    Thu Aug 14 13:11:14 UTC 2025
    
    
  
On Tue, 12 Aug 2025 15:17:19 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
>> Jonas Norlinder has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Feedback from Albert
>
> src/hotspot/share/gc/shared/collectedHeap.cpp line 610:
> 
>> 608: }
>> 609: 
>> 610: double percent_of(double component_cpu_time, double process_cpu_time) {
> 
> There is global function, `percent_of`. Can that be used directly?
Thanks! Certainly I misread your previous suggestion as a rename suggestion as I was not aware of that global function :)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26621#discussion_r2276587345
    
    
More information about the hotspot-runtime-dev
mailing list