search

Home  >  Q&A  >  body text

Java同步机制可通过类比建筑物来阐明。

这个图片是什么意思,求解释啊

图解展示了整个虚拟机运行时数据区域的情况。

伊谢尔伦伊谢尔伦2855 days ago732

reply all(1)I'll reply

  • 阿神

    阿神2017-04-18 09:16:12

    Your question is too broad.
    Special Room belongs to the thread or process holding the lock.
    Waiting Room belongs to the thread or process that is waiting for the Special holding the lock to release the lock.
    Hallway is a process or thread that does not compete for lock resources.

    reply
    0
  • Cancelreply