RFR: 8359110: Log accumulated GC and process CPU time upon VM exit [v19]
Jonas Norlinder
duke at openjdk.org
Thu Jul 3 10:52:42 UTC 2025
On Thu, 3 Jul 2025 10:29:24 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:
>>
>> Remove friend class in CPUTimeCounters
>
> src/hotspot/share/gc/shared/collectedHeap.hpp line 465:
>
>> 463:
>> 464: double elapsed_gc_cpu_time() const;
>> 465: void log_gc_cpu_time() const;
>
> They can be private, I believe.
`elapsed_gc_cpu_time()` will be callable through an MXBean in a future patch I'm planning, but can make `log_gc_cpu_time()` private
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25779#discussion_r2182476362
More information about the hotspot-gc-dev
mailing list