-
Enhancement
-
Resolution: Fixed
-
P4
-
25
-
b19
One of the cached Lambda forms in MethodTypeForm is LF_INTERPRET, the interpreter entrypoint for lambda forms that have the given erased method type form. (Can't use basic types because there is primitive-specific boxing and unboxing)
This lambda form is only created and used in LambdaForm::prepare, and only its vmentry is ever used. We can change the cache in MethodTypeForm to be a SoftReference on a MemberName. Then, we can also remove LambdaForm::createBlankForType.
This lambda form is only created and used in LambdaForm::prepare, and only its vmentry is ever used. We can change the cache in MethodTypeForm to be a SoftReference on a MemberName. Then, we can also remove LambdaForm::createBlankForType.
- links to
-
Commit(master) openjdk/jdk/dc249be2
-
Review(master) openjdk/jdk/24468