RFR: 8339640: Reduce construction overheads in StringConcatFactory$InlineHiddenClassStrategy
Claes Redestad
redestad at openjdk.org
Fri Sep 6 08:02:50 UTC 2024
On Fri, 6 Sep 2024 07:39:45 GMT, Claes Redestad <redestad at openjdk.org> wrote:
> Using the trusted `invokeBasic` method streamlines invokers and avoids spinning up of some type conversion handles. This reduces classes generated in a few scalability stress tests.
In the Strings stress test generated by https://cl4es.github.io/snippets/StringGen.java number of generated classes drops from 6298 to 5522.
No statistically significant change on `StringConcatStartup`, but instrumenting bytecode executed shows the disappearance of various `invoke_MT` calls.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20884#issuecomment-2333475480
More information about the core-libs-dev
mailing list