RFR: 8308906: Make CIPrintCompilerName a diagnostic flag

Vladimir Kozlov kvn at openjdk.org
Thu May 25 21:05:55 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.

Please, also fix name duplication in output:

C1:     79 C1:   1       3       java.lang.Object::<init> (1 bytes)

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

PR Review: https://git.openjdk.org/jdk/pull/14161#pullrequestreview-1444647175


More information about the hotspot-compiler-dev mailing list