RFR: 8308906: Make CIPrintCompilerName a diagnostic flag

Ioi Lam iklam at openjdk.org
Mon May 29 20:29:04 UTC 2023


On Thu, 25 May 2023 23:29:45 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Please review a very simple change. This makes it easy to see which JIT compiler is used to compile each method:
>> 
>> 
>> java -XX:+UnlockDiagnosticVMOptions -XX:+PrintCompilation -XX:+CIPrintCompilerName  -jar MyApp.java
>> 
>> 
>> CSR is not needed because this is a diagnostic VM option.
>
> UL output is correct (no duplication):
> 
> [0.055s][debug][jit,compilation] C1:   1       3       java.lang.Object::<init> (1 bytes)

Thanks @vnkozlov and @tstuefe for the review.

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

PR Comment: https://git.openjdk.org/jdk/pull/14161#issuecomment-1567488550


More information about the hotspot-compiler-dev mailing list