Why objects used as a monitor for synchronization can be a GC root?

后端 未结 0 1562
北荒
北荒 2020-11-27 15:52

I have seen in some articles that object synchronized can also be used as GC root,but why can it be used as a GC root alone?Is there anything special about it?

By the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题