RFR: 8330595: Invoke ObjectMethods::bootstrap method exactly [v3]

Claes Redestad redestad at openjdk.org
Mon Apr 22 08:58:36 UTC 2024


On Fri, 19 Apr 2024 07:42:19 GMT, Claes Redestad <redestad at openjdk.org> wrote:

>> Investigating a recent regression in mainline I realized we have an opportunity to improve the bootstrap overheads of ObjectMethods::bootstrap by using `invokeExact` in a way similar to what we already do for LMF and SCF BSMs. This avoids generating type checking adapters and equates to a one-off startup win of around 5ms in any app that ever has the need to spin up a toString, equals or hashCode method on a record.
>
> Claes Redestad has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Copyright
>  - Formatting

Thanks for the reviews, Mandy!

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

PR Comment: https://git.openjdk.org/jdk/pull/18845#issuecomment-2068853277


More information about the core-libs-dev mailing list