RFR: JDK-8275865: Print deoptimization statistics in product builds [v3]

Volker Simonis simonis at openjdk.java.net
Thu Oct 28 10:31:42 UTC 2021

> Deoptimization statistics are already gathered in product builds but for some (probably historical) reasons aren't printed to the VM/Compiler log. These statics can be useful when analyzing the reasons for deoptimization and frequent recompilations.
> Because the statistics are already collected anyway, printing them at VM-exit if either `-XX:+LogCompilation` or `-XX:+LogVMOutput` are set won't introduce any runtime overhead.

Volker Simonis has updated the pull request incrementally with one additional commit since the last revision:

  Simplified preprocessor condition and fixed indentation in test


  - all: https://git.openjdk.java.net/jdk/pull/6103/files
  - new: https://git.openjdk.java.net/jdk/pull/6103/files/42f01aed..cef9099a

 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6103&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6103&range=01-02

  Stats: 36 lines in 2 files changed: 11 ins; 12 del; 13 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6103.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6103/head:pull/6103

PR: https://git.openjdk.java.net/jdk/pull/6103

More information about the hotspot-runtime-dev mailing list