Home  >  Q&A  >  body text

java - Happen before 法则是在JDK哪个版本加入,为什么jdk1.5后支持双重检查锁?

Happen before 法则是在JDK哪个版本加入,为什么jdk1.5后支持双重检查锁?

怪我咯怪我咯2712 days ago778

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-04-17 17:17:03

    JDK1.5 adopts the new memory model JSR133, which defines the happen before principle.

    reply
    0
  • Cancelreply