完成内存的测试和线程切换...之前的疑似bug神奇的消失了...

Signed-off-by: hurley25 <liuhuan1992@gmail.com>