Integrated: 8350462: MethodTypeForm.LF_INTERPRET can cache the MemberName instead

Zihao Lin duke at openjdk.org
Thu Apr 10 17:24:38 UTC 2025


On Sat, 5 Apr 2025 14:26:13 GMT, Zihao Lin <duke at openjdk.org> wrote:

> Modify the cache in MethodTypeForm that currently stores the LF_INTERPRET Lambda form. Instead of caching the entire LambdaForm, change it to store a SoftReference<MemberName>. This will avoid unnecessary memory usage.

This pull request has now been integrated.

Changeset: dc249be2
Author:    Zihao Lin <linzihao1999 at outlook.com>
Committer: Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/dc249be2474d8711ca6e92ec139b4b6f0aa92e6e
Stats:     32 lines in 2 files changed: 17 ins; 10 del; 5 mod

8350462: MethodTypeForm.LF_INTERPRET can cache the MemberName instead

Reviewed-by: liach, jvernee

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

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


More information about the core-libs-dev mailing list