摘要 |
PURPOSE:To perform garbage collection at a high speed by copying significant cells in the 1st area to the 2nd area, and then accessing the cells copied to the 2nd storage area sequentially and rewriting a pointer. CONSTITUTION:The contents of a significant cell 1 stored in an address X of an area 1 are read out and copied into an address X' of an area 2, and the address X' of the copy destination is stored in car of the cell 1 in the area 1. Then, the contents of a cell 2 indicated by the address A stored in the car of the cell 1 in the area 1 are read out and copied into an address A' of the area 2, and the address A' of the copy destination is stored in car of the cell 2 in the area 1. Similarly, the contents of the area 1 are copied to the area 2 sequentially and addresses of copy destinations are stored in copy origins. |