Integrated: 8345405: Add JMH showing the regression in 8341649

Eric Caspole ecaspole at openjdk.org
Mon Dec 9 15:01:46 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

This pull request has now been integrated.

Changeset: 35c00532
Author:    Eric Caspole <ecaspole at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/35c00532a1dd2a6df5fc3d5173ca692517675d38
Stats:     175 lines in 1 file changed: 175 ins; 0 del; 0 mod

8345405: Add JMH showing the regression in 8341649

Reviewed-by: redestad, coleenp

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

PR: https://git.openjdk.org/jdk/pull/22556


More information about the hotspot-dev mailing list