RFR: 8350462: MethodTypeForm.LF_INTERPRET can cache the MemberName instead
Zihao Lin
duke at openjdk.org
Sat Apr 5 14:30:58 UTC 2025
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.
-------------
Commit messages:
- Merge branch 'openjdk:master' into JDK-8350462
- 8350462: MethodTypeForm.LF_INTERPRET can cache the MemberName instead
Changes: https://git.openjdk.org/jdk/pull/24468/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24468&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8350462
Stats: 31 lines in 2 files changed: 17 ins; 9 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/24468.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24468/head:pull/24468
PR: https://git.openjdk.org/jdk/pull/24468
More information about the core-libs-dev
mailing list