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

Xin Liu xliu at openjdk.java.net
Wed May 4 05:27:25 UTC 2022


On Wed, 4 May 2022 01:36:13 GMT, aamarsh <duke at openjdk.java.net> wrote:

>> 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 = 372, Arg escape = 74, Global escape = 1855 (EA executed in   10.49 seconds)
>> Objects scalar replaced = 240, Monitor objects removed = 44, GC barriers removed = 37, Memory barriers removed = 284
>
> aamarsh has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
> 
>   adding escape analysis and scalar replacement statistics

It seems that you use git reset and push it forcely. That's why you only have one commit displayed in this PR. 
Good news is that Skara can still generate revisions. 

I think it's easier for people to keep track your changes incrementally. It's totally okay you keep committing to your branch.  github will squash them when it merges a PR. please refrain from push by force.

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

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


More information about the hotspot-compiler-dev mailing list