A copying collector splits the heap into two halves, from-space, where the program allocates, and to-space, kept empty. A collection copies every reachable cell of from-space into to-space, updates every reference to point at the copies, and swaps the two halves’ roles. When a cell is copied, its old place receives a forwarding pointer, the address of the copy, so that later references to it are redirected instead of copying it twice.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Copying collector, forwarding pointer?
又称: copying collector · forwarding pointer