RFR: 8302508: Add timestamp to the output TraceCompilerThreads
Vladimir Kozlov
kvn at openjdk.org
Wed Mar 8 18:24:14 UTC 2023
On Wed, 8 Mar 2023 10:01:11 GMT, Tobias Hartmann <thartmann 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.
>
> Looks good to me.
Thank you @TobiHartmann and @poonamparhar for reviews.
-------------
PR: https://git.openjdk.org/jdk/pull/12898
More information about the hotspot-compiler-dev
mailing list