RFR: 8291753: Add JFR event for GC CPU Time [v3]
Thomas Schatzl
tschatzl at openjdk.org
Mon Aug 22 09:35:27 UTC 2022
On Wed, 17 Aug 2022 01:08:52 GMT, Sangheon Kim <sangheki at openjdk.org> wrote:
>> Hi all,
>>
>> Could I have reviews to add new JFR event for GC CPU time?
>> Currently only log message is available for CPU time (user, system, real).
>> As there is already GCTraceCPUTime class which is used for a log message, I added GCTracer to deliver the event.
>> The log message of CPU time is printed after GC is completed and tried to keep same.
>>
>> For G1, manually checked there is not difference.
>>
>> For test, I had to add an exception as GCCpuTime will be generated after GC end.
>>
>> Testing: tier 1 ~ 3
>>
>> Thanks,
>> Sangheon
>
> Sangheon Kim has updated the pull request incrementally with one additional commit since the last revision:
>
> Reflect egahlin's comment
Good.
-------------
Marked as reviewed by tschatzl (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9760
More information about the hotspot-gc-dev
mailing list