RFR: 8330595: Invoke ObjectMethods::bootstrap method exactly [v2]
Claes Redestad
redestad at openjdk.org
Fri Apr 19 07:06:22 UTC 2024
> 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 one additional commit since the last revision:
Use Arrays.copyOfRange
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18845/files
- new: https://git.openjdk.org/jdk/pull/18845/files/31752237..86ccbbba
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18845&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18845&range=00-01
Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/18845.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18845/head:pull/18845
PR: https://git.openjdk.org/jdk/pull/18845
More information about the core-libs-dev
mailing list