Brian McCallister wrote:
Very cool. Do you recall how Torsten did the continuations? Are they exception-and-replay based or does it rewrite the bytecode into a CPS style?
javaflow throws an exception when suspending and records whatever it needs to record to replay the previous method calls when resuming. So yes, it's exception-and-replay based.
/Niklas
