RFR: 8291753: Add JFR event for GC CPU Time [v5]

Albert Mingkun Yang ayang at openjdk.org
Thu Sep 8 09:15:44 UTC 2022


On Thu, 8 Sep 2022 00:04:11 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 two additional commits since the last revision:
> 
>  - Merge remote-tracking branch 'origin/8291753-cpu-time' into 8291753-cpu-time
>  - Comment from albertnetymk

Marked as reviewed by ayang (Reviewer).

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

PR: https://git.openjdk.org/jdk/pull/9760


More information about the hotspot-jfr-dev mailing list