[jdk17u-dev] Integrated: 8291753: Add JFR event for GC CPU Time

Goetz Lindenmaier goetz at openjdk.org
Mon Mar 11 09:07:56 UTC 2024


On Wed, 6 Mar 2024 16:09:37 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this as proposed before in https://github.com/openjdk/jdk17u-dev/pull/1900. Prereq changes are already done.
> 
> The backport has been tested by [releaseing it in SapMachine in 17.0.10](https://github.com/SAP/SapMachine/commit/[1d275fd954aaaa6b1f4623d547e3edff46b97e84](https://github.com/SAP/SapMachine/commit/1d275fd954aaaa6b1f4623d547e3edff46b97e84)). This patch here is identical to the one in SapMachine. It will go to 17.0.12 giving enough time to settle.
> 
> The g1 files needed several trivial resolves due to context differences. Especially variable do_maximum_compaction was renamed to do_maximal_compaction. This appears several times in the context.
> 
> Further trivial resolves in
> src/hotspot/share/gc/serial/defNewGeneration.hpp
> src/hotspot/share/gc/shared/gcTrace.hpp
> src/hotspot/share/gc/shared/genCollectedHeap.cpp
> 
> src/jdk.jfr/share/conf/jfr/profile.jfc
> The whitespace fix is not needed in 17. Omitted.

This pull request has now been integrated.

Changeset: 833e2bb5
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/833e2bb504a69162f7f4b38255948b0c79ee7e61
Stats:     217 lines in 23 files changed: 163 ins; 2 del; 52 mod

8291753: Add JFR event for GC CPU Time

Reviewed-by: phh
Backport-of: 14eb5ad0dc987ffe3621f4eeeebeb6b5a2cd691b

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

PR: https://git.openjdk.org/jdk17u-dev/pull/2270


More information about the jdk-updates-dev mailing list