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

Cesar Soares duke at openjdk.java.net
Wed Jun 1 17:54:43 UTC 2022


On Mon, 23 May 2022 18:18:39 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 = 263, Arg escape = 87, Global escape = 1628
>> Objects scalar replaced = 193, Monitor objects removed = 32, GC barriers removed = 38, Memory barriers removed = 225
>
> aamarsh has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - delete iterative EA comment
>  - account for iterative EA

Hi, can someone please sponsor this PR if all looks good? TIA!

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

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


More information about the hotspot-compiler-dev mailing list