Thread join是Waits for this thread to die. 其实现原理是用一个while循环判断线程是否是活着,如果活着就一直调用wait,这里wait的锁是该线程对象,注意不是线程的Class对象,而是线程的对象。