Previous: objects codes reloc, Up: objects codes [Index]
Code objects are not allocated on the heap like other common objects (pairs, vectors, …); rather they are allocated in specially memory mapped regions which receive execution protection.
Whenever the garbage collector encounters a reference to a code object: it moves the code object itself into a new location to reduce fragmentation.