Incremental Tracing Collectors
Tricolor marking
- using three colors to mark objects during traversal:
- white: object unmarked
- gray: object has been reached, but its descendants may not have been
- black: direct descendants are traversed
- Only black objects are live in the end
- Coordination with application necessary