3 ms·
That's what every "copying GC" does. https://www.cs.cornell.edu/courses/cs312/2003fa/lectures/sec24.htm https://www.cs.cornell.edu/courses/cs312/2003fa/lecture
by amelius 3mo ago
That's what every "copying GC" does.
https://www.cs.cornell.edu/courses/cs312/2003fa/lectures/sec24.htm https://www.cs.cornell.edu/courses/cs312/2003fa/lectures/sec...
- okzgn 3mo agoOf course, but Go's GC doesn't compact or relocate the objects still in use in the middle of a page (which means that page can't be released to the OS) until you manually copy those surviving objects out, freeing up the page they left behind.