I think JVM with Quasar gets close. It uses bytecode instrumentation to support suspending and resuming method execution. It modifies methods so that they know how to store and retrieve their stack state on heap when they are suspended and resumed.
I think the Quasar API is not exactly what I described in my previous comment but the above building blocks are what is needed to achieve something close to it.
I think the Quasar API is not exactly what I described in my previous comment but the above building blocks are what is needed to achieve something close to it.