RFR: 8350462: MethodTypeForm.LF_INTERPRET can cache the MemberName instead [v2]
Jorn Vernee
jvernee at openjdk.org
Thu Apr 10 17:17:31 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
Looks good to me. Nice simplification!
-------------
Marked as reviewed by jvernee (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/24468#pullrequestreview-2757647710
More information about the core-libs-dev
mailing list