Withdrawn: 8339875: MethodTypeDesc to reuse descriptor string from MethodType

Chen Liang liach at openjdk.org
Wed Sep 11 19:24:09 UTC 2024


On Tue, 10 Sep 2024 23:24:25 GMT, Chen Liang <liach at openjdk.org> wrote:

> A micro-optimization by sharing compatible String objects from MethodType (which itself is already deduplicated in a cache) to the generated MethodTypeDesc. This very slightly improves hashing performance by avoiding some string creation, hashing, and fast path equality via identity.

This pull request has been closed without being integrated.

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

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


More information about the core-libs-dev mailing list