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

Chen Liang liach at openjdk.org
Tue Aug 20 05:45:51 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.

This pull request has now been integrated.

Changeset: 68d1f5c3
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/68d1f5c33bf3f64f44f8a10c2f9e4007cfd07d2b
Stats:     22 lines in 3 files changed: 18 ins; 3 del; 1 mod

8338543: ClassBuilder withMethod builders should cache the method type symbol

Reviewed-by: asotona

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

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


More information about the core-libs-dev mailing list