LambdaForm sharing (JEP210, JDK-8046703) introduces new bytecode shapes, which cause C2 compilation bailouts. It manifests as serious peak performance regressions. MaxNodeLimit and LiveNodeCountInliningCutoff should be increased to eliminate such bailouts.
ILW = HML = P2
I = H: serious regressions in peak performance in Nashorn/Octane and other JSR292 users
L = M: only JSR292 users are affected
W = L: use -XX:MaxNodeLimit=240000 -XX:LiveNodeCountInliningCutoff=40000 to workaround the issue