IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Where is the GC root?

    xiantang - Self-discipline set me free.发表于 2020-04-06 01:37:56
    love 0
    What is GC Root First of all, we know the marking algorithm, the JVM’s marking algorithm can be understood as a reachability algorithm, so all reachability algorithms will have a starting point, and this starting point is the GC Root. That is, it is necessary to find all living objects through the GC Root, and then all the remaining unmarked objects are the objects to be recycled. Characteristics of GC Root Objects that are alive at the current moment!


沪ICP备19023445号-2号
友情链接