七种情况
1、两个thread,一个instance==按照顺序执行,加锁成功
2、两个thread,两个instance==各自持有锁,并发执行
3、两个thread,一个synchronized修饰的静态方法==此时是一个类锁,即一把锁,按照顺序执行