public void swap(CallStack other) {
        Deque<StackFrame> tmp = stack;
        stack = other.stack;
        other.stack = tmp;
    }
Swap the content of this and the argument stack.

@param other The stack to swap content with.
messagebus/src/main/java/com/yahoo/messagebus/CallStack.java