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

Stefan Johansson sjohanss at openjdk.org
Wed Nov 1 09:37:08 UTC 2023


On Tue, 31 Oct 2023 04:23:13 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:
> 
>   Replace NULL with nullptr

Sorry for being a bit late to this PR. I think the addition of CPU time tracking is good, but I wonder if we could do it in a way that is a bit more general. A more general way of tracking CPU time for a set of threads and we could then have different consumers of this data. In addition to hsperf counters I think having logging and JFR events for this could be interesting as well. 

Have you had any thought along those lines, any obvious problems with such approach?

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

PR Comment: https://git.openjdk.org/jdk/pull/15082#issuecomment-1788665727


More information about the hotspot-gc-dev mailing list