RFR: 8345405: Add JMH showing the regression in 8341649 [v2]

Claes Redestad redestad at openjdk.org
Mon Dec 9 14:44:43 UTC 2024


On Fri, 6 Dec 2024 17:37:03 GMT, Eric Caspole <ecaspole at openjdk.org> wrote:

>> This JMH using MethodHandles shows the regression in 8341649, for example comparing 24-b25, which included the regression to today's head. It was an interaction between the runtime and C2 rather than a change in MethodHandles.
>> 
>> Here are example results from an Ampere platform:
>> jdk-24-b25 before the fix:
>> Benchmark                (classes)  (instances)   Mode  Cnt   Score   Error   Units
>> MethodHandleStress.work       1000          100  thrpt   20  33.423 ± 7.678  ops/ms
>> 
>> Today's head with the fix:
>> Benchmark                (classes)  (instances)   Mode  Cnt    Score    Error   Units
>> MethodHandleStress.work       1000          100  thrpt   20  709.249 ± 50.575  ops/ms
>
> Eric Caspole has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
> 
>  - Code cleanups suggested by Claes
>  - Merge branch 'master' of https://github.com/openjdk/jdk into JDK-8345405
>  - 8345405: Add JMH showing the regression in 8341649

Marked as reviewed by redestad (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/22556#pullrequestreview-2488998391


More information about the hotspot-dev mailing list