RFR: 8282024: add EscapeAnalysis statistics under PrintOptoStatistics [v14]

aamarsh duke at openjdk.java.net
Fri May 20 19:51:37 UTC 2022


> Escape Analysis and Scalar Replacement statistics were added when the -XX:+PrintOptoStatistics flag is set. All code is placed in `#ifndef Product` block, so this code is only run when creating a debug build. Using renaissance benchmark I ran a few tests to confirm that numbers were printing correctly. Below is an example run:
> 
> 
> No escape = 337, Arg escape = 125, Global escape = 2025
> Objects scalar replaced = 217, Monitor objects removed = 29, GC barriers removed = 33, Memory barriers removed = 246

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

  make count_MemBar static

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8019/files
  - new: https://git.openjdk.java.net/jdk/pull/8019/files/56d6317d..8c394555

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8019&range=13
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8019&range=12-13

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8019.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8019/head:pull/8019

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


More information about the hotspot-compiler-dev mailing list