RFR: 8345405: Add JMH showing the regression in 8341649
Coleen Phillimore
coleenp at openjdk.org
Thu Dec 5 18:07:38 UTC 2024
On Wed, 4 Dec 2024 18:55:23 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
Thank you for adding this test. Looks good to me.
-------------
Marked as reviewed by coleenp (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/22556#pullrequestreview-2482518334
More information about the hotspot-dev
mailing list