Nasal GC Musings: Difference between revisions

Jump to navigation Jump to search
Line 62: Line 62:
** update mark() to increment a new gcSurvivals counter
** update mark() to increment a new gcSurvivals counter
** update reap() to detect objects that have previously survived GC
** update reap() to detect objects that have previously survived GC
** update reap() to by default only sweep the first generation
** implement a new function to promote objects from one generation to another
** implement a new function to promote objects from one generation to another
** update the naRef after moving one object to another pool (use doswap)
** update the naRef after moving one object to another pool (use doswap)

Navigation menu