Anyone understand the logic of pushJavaStackFrames