Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (15 sloc) 538 Bytes

GC for HotSpot Java, V8 Nodejs, PHP and Python


  • Java is using Generation strategy for GC.
  • The memory will be divied into 3 sections: Young generation, old generation and metaSpace
  • The young generation contains: eden, from, to with space 8:1:1

V8 Nodejs

  • v8 is using generation GC as well
  • the difference is young generaiton is small
  • young generation only contains 2 spaces: from and to
  • there is no metaspace


  • session (live time) and reference count


  • reference count
  • 3 generations
You can’t perform that action at this time.