Understanding Java Garbage Collection Algorithms – Developers Journal

Understanding Java Garbage Collection Algorithms – Developers Journal

Java Garbage Collection Algorithms

Before diving into the practical implementation of details of the algorithms lets first understand what areGC Roots.

GC Roots

GC Roots are the objects which are accessible directly outside from the heap. Example:

  1. Active Threads.
  2. Static Variables.
  3. Local variable and input parameters of the currently executing methods
  4. JNI References.

来源: Understanding Java Garbage Collection Algorithms – Developers Journal

好烂啊有点差凑合看看还不错很精彩 (No Ratings Yet)
Loading...
19 views

发表评论

电子邮件地址不会被公开。 必填项已用*标注

跳至工具栏