RFR: 8291753: Add JFR event for GC CPU Time [v5]
Sangheon Kim
sangheki at openjdk.org
Thu Sep 8 00:04:11 UTC 2022
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/9760/files
- new: https://git.openjdk.org/jdk/pull/9760/files/229df2f2..d347ece1
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=9760&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=9760&range=03-04
Stats: 23 lines in 3 files changed: 14 ins; 4 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/9760.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9760/head:pull/9760
PR: https://git.openjdk.org/jdk/pull/9760
More information about the hotspot-jfr-dev
mailing list