RFR: JDK-8298255: JFR provide information about dynamization of number of compiler threads

Thomas Stuefe stuefe at openjdk.org
Wed Dec 7 15:48:58 UTC 2022


On Wed, 7 Dec 2022 15:32:18 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> The JVM supports both dynamic GC threads, and dynamic Compiler threads.
> While the GCConfiguration JFR event (see https://sap.github.io/SapMachine/jfrevents/#gcconfiguration ) seems to have at least some info about dynamization of GC threads ( field usesDynamicGCThreads), the JIT CompilerConfiguration event seems to miss this info (about JIT compiler threads dynamization), this should be added; currently the impression is given that the number is static but this is often not the case.
> As an extension, the dynamization process of adding / removing threads could be added as well to the JFR events but I am not sure if this is desired so I just started with a very simple patch.

Seems reasonable, seeing that we do the same for GC. Good assuming tests are green.

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

Marked as reviewed by stuefe (Reviewer).

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


More information about the hotspot-jfr-dev mailing list