RFR: 8308906: Make CIPrintCompilerName a diagnostic flag

Vladimir Kozlov kvn at openjdk.org
Thu May 25 23:32:59 UTC 2023


On Thu, 25 May 2023 20:36:42 GMT, Ioi Lam <iklam 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)

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

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


More information about the hotspot-compiler-dev mailing list