HotSwap is divided into two steps

HotSwap is divided into two steps，step2 is not thread-safe