I have been improving my gc knowledge and there is some confusion on my 
side regarding the 'mark-sweep-compact' algorithm I frequently see 
mentioned in posts, articles and some not too formal books on the topic. 
E.g.

https://plumbr.eu/handbook/garbage-collection-algorithms/removing-unused-objects/compact
https://www.infoq.com/news/2015/12/java-garbage-collection-minibook

AFAIK mark-sweep-compact is not correct. It is either mark-sweep or 
mark-compact where as part of the compacting process the dead objects are 
removed. When I check more formal literature like "The Garbage Collection 
Handbook: the Art of Automatic Memory Management", then there is no 
mentioning of mark-sweep-compact.

So I guess that when 'mark-sweep-compact' is mentioned, they are actually 
referring to 'mark-compact'. Is this assumption correct?

-- 
You received this message because you are subscribed to the Google Groups 
"mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mechanical-sympathy+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to