RFR: 8338543: ClassBuilder withMethod builders should cache the method type symbol

Adam Sotona asotona at openjdk.org
Mon Aug 19 15:27:50 UTC 2024


On Mon, 19 Aug 2024 15:08:05 GMT, Chen Liang <liach at openjdk.org> wrote:

> In #20611 and other investigations, we noted that `MethodTypeDesc.ofDescriptor` is unnecessarily called due to missing caching in ClassBuilder. This patch adds that missing caching functionality.

Looks good to me, do you have any benchmark numbers?

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

Marked as reviewed by asotona (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20627#pullrequestreview-2245851016


More information about the core-libs-dev mailing list