Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
avinassh
· 5y ago · 0 comments
What’s a moving GC?
Comments
[–]
snyball
5y ago
The GC may move allocated objects around, changing their pointers in the process. This is used in some garbage collectors (.NET and Haskell for example) to combat memory fragmentation, by compacting the memory to remove small gaps.