本文共 187 字,大约阅读时间需要 1 分钟。
大致三种
底层主要是有monitor对象,获取锁时判断标志位是否为0,为0则进入临界区对应的指令monitorenter,
转载地址:http://uqcp.baihongyu.com/