RFR: 8315149: Add hsperf counters for CPU time of internal GC threads [v24]

David Holmes dholmes at openjdk.org
Wed Sep 20 00:42:44 UTC 2023


On Tue, 19 Sep 2023 22:48:16 GMT, Jonathan Joo <jjoo at openjdk.org> wrote:

>> 8315149: Add hsperf counters for CPU time of internal GC threads
>
> Jonathan Joo has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix build issues

Changes requested by dholmes (Reviewer).

src/hotspot/share/gc/shared/collectedHeap.cpp line 161:

> 159: }
> 160: 
> 161: void CollectedHeap::inc_total_cpu_time(long diff) {

We don't use `long` in shared code as it has different size on different platforms.

-------------

PR Review: https://git.openjdk.org/jdk/pull/15082#pullrequestreview-1634383244
PR Review Comment: https://git.openjdk.org/jdk/pull/15082#discussion_r1330832166


More information about the serviceability-dev mailing list