JetBrains/kotlin — pull request #509 by bintree (2014-08-21 05:19:41+00:00)
Title: Store stack values before inlines. #KT-5634 Fixed

Inlining code violates JIT assumptions for OSR in Java 8 in case of starting with non-empty and containing cycles.

Fix is to mark each inlined block with markers and then store/restore stack state before and after inlined body.