Chao Yang

Nothing seek, nothing find


  • Home

  • Minibooks

  • Projects

  • Résumé

  • Archive

  • About

  • Search
close

GC revisit

Published at: 2015-06-27   |   Categories: JVM     |   Reading: 117 words ~1min

In the another post, I give a short introduction of GC.

Now for the practical purpose, I need to focus on the common used GCs:  Parallel GC, CMS and G1.

What is the tracing algorithm and mark-and-sweep method?

root objects

Root objects are the starting point of marking phase. Usually, root object references are located in the thread stacks.

root-objects

object graph

Every object has its fields, if a field is a object reference, then the reference will be like a pointer to another object.

From the point of whole heap, these objects will form an object graph.

Heap layout

generational heap
G1 heap

GC process illustrations

non-concurrent-gc

tuning options

tuning the minor GC
tuning the full GC

 

Java Serialization
No mapping found for HTTP request with URI [WEB-INF/views/xxx.jsp]
微信扫一扫交流

标题:GC revisit
作者:Chao
关注:richdyang(CHAO)
声明:自由转载-非商用-非衍生-保持署名(创作共享3.0许可证)

  • Table of Content
  • Site Information
Chao

Chao

Programmer & Life explorer

138 Blogs
49 Categories
20 Tags
GitHub Linkedin
        • What is the tracing algorithm and mark-and-sweep method?
        • Heap layout
          • generational heap
          • G1 heap
        • GC process illustrations
        • tuning options
          • tuning the minor GC
          • tuning the full GC
© 2009 - 2018 Chao Yang
Powered by - Hugo v0.30.2
Theme by - NexT