8071788: BlockInliningWrapper.asType() is broken
Reviewed-by: jrose
This commit is contained in:
parent
676ea83240
commit
55d14bca62
@ -832,7 +832,7 @@ import static java.lang.invoke.MethodHandles.Lookup.IMPL_LOOKUP;
|
||||
MethodHandle wrapper;
|
||||
if (isCounting) {
|
||||
LambdaForm lform;
|
||||
lform = countingFormProducer.apply(target);
|
||||
lform = countingFormProducer.apply(newTarget);
|
||||
wrapper = new CountingWrapper(newTarget, lform, countingFormProducer, nonCountingFormProducer, DONT_INLINE_THRESHOLD);
|
||||
} else {
|
||||
wrapper = newTarget; // no need for a counting wrapper anymore
|
||||
|
Loading…
Reference in New Issue
Block a user