Wednesday, October 12, 2016

Garbage Collection for Performance Optimization

Sysytem.GC -> Kicks in Garbage Collection manually

Mark and Sweep Collectors
CMS, G1, GenPar and DeterminiticGC

Mark each object to live bit and then sweep phase starts looking for unmarked heap allocation and reclaims them.

DISADVANTAGES:

Dependent and amount of live data on heap – Pause time challenge

No comments:

Post a Comment