See “implementation details” section. The invocation frame is spilled into the coroutine state machine object, which is available to the applications via continuation reference when you suspend coroutine (the state machine object implements
Continuation
). It also keeps the reference to the completion continuation which may be completion continuation specified in
startCoroutine
invocation or it may refer to the other frame “up the stack"