LambdaForm interpretation consumes excessive amount of stack space (up to 7 frames per MethodHandle in the chain). LambdaForm sharing significantly reduce LambdaForm interpretation. It allows to completely turn off interpretation (effectively -Djava.lang.invoke.MethodHandle.COMPILE_THRESHOLD=0) without causing startup/warmup regressions.
|