RFR: 8300148: Consider using a StoreStore barrier instead of Release barrier on ctor exit [v3]

Vladimir Kozlov kvn at openjdk.org
Thu Apr 4 22:46:09 UTC 2024


On Wed, 27 Mar 2024 17:46:14 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Joshua Cao has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   EA tests, static test classes, add @requires, fix comment
>
> Can we also add statistic about how many different barriers C2 generates and eliminates?  It will help to know if we missing some optimization with these changes.

> @vnkozlov What do you think about excluding barrier statistics from this PR? I'd prefer to keep the PR as small as possible, and I don't think the statistics are key here.

Yes, it could be done separately.

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

PR Comment: https://git.openjdk.org/jdk/pull/18505#issuecomment-2038395048


More information about the hotspot-compiler-dev mailing list