mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8298590: Refactor LambdaForm constructors
Reviewed-by: redestad
This commit is contained in:
parent
d812022890
commit
0532045edb
8 changed files with 88 additions and 69 deletions
|
@ -159,7 +159,7 @@ abstract sealed class DelegatingMethodHandle extends MethodHandle
|
|||
targetArgs[0] = names[NEXT_MH]; // overwrite this MH with next MH
|
||||
names[REINVOKE] = new LambdaForm.Name(mtype, targetArgs);
|
||||
}
|
||||
form = new LambdaForm(ARG_LIMIT, names, forceInline, kind);
|
||||
form = LambdaForm.create(ARG_LIMIT, names, forceInline, kind);
|
||||
if (!customized) {
|
||||
form = mtype.form().setCachedLambdaForm(whichCache, form);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue