RFR: 8350462: MethodTypeForm.LF_INTERPRET can cache the MemberName instead [v2]

Chen Liang liach at openjdk.org
Mon Apr 7 19:20:21 UTC 2025


On Sun, 6 Apr 2025 08:09:27 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.
>
> Zihao Lin has updated the pull request incrementally with one additional commit since the last revision:
> 
>   remove LF_INTERPRET

I shall run hs-tier2 before approving, in case mainline leyden doesn't work with WeakReferences.

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

PR Comment: https://git.openjdk.org/jdk/pull/24468#issuecomment-2784377122


More information about the core-libs-dev mailing list