Integrated: 8302508: Add timestamp to the output TraceCompilerThreads

Vladimir Kozlov kvn at openjdk.org
Wed Mar 8 18:29:30 UTC 2023


On Tue, 7 Mar 2023 03:49:52 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> Having timestamps added to the output of TraceCompilerThreads will be helpful in understanding how frequently the compiler threads are being added or removed.
> 
> I did that and also added UL output.
> 
> 
> java -XX:+TraceCompilerThreads -XX:+PrintCompilation -version
> 
>      86 Added initial compiler thread C2 CompilerThread0
>      86 Added initial compiler thread C1 CompilerThread0
>      92    1       3       java.lang.Object::<init> (1 bytes)
>      96    2       3       java.lang.String::coder (15 bytes)
> 
> java -Xlog:jit+thread=debug -Xlog:jit+compilation=debug -version
> 
> [0.078s][debug][jit,thread] Added initial compiler thread C2 CompilerThread0
> [0.078s][debug][jit,thread] Added initial compiler thread C1 CompilerThread0
> [0.083s][debug][jit,compilation]    1       3       java.lang.Object::<init> (1 bytes)
> [0.087s][debug][jit,compilation]    2       3       java.lang.String::coder (15 bytes)
> 
> 
> Tested tier1.

This pull request has now been integrated.

Changeset: f813dc71
Author:    Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f813dc71836e002814622fead8a2b0464b49c83a
Stats:     44 lines in 1 file changed: 28 ins; 0 del; 16 mod

8302508: Add timestamp to the output TraceCompilerThreads

Reviewed-by: thartmann

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

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


More information about the hotspot-compiler-dev mailing list