4 struct code_heap : heap {
5 /* Set of blocks which need full relocation. */
6 std::set<code_block *> needs_fixup;
8 /* Code blocks which may reference objects in the nursery */
9 std::set<code_block *> points_to_nursery;
11 /* Code blocks which may reference objects in aging space or the nursery */
12 std::set<code_block *> points_to_aging;
14 explicit code_heap(bool secure_gc, cell size);
15 void write_barrier(code_block *compiled);
16 bool needs_fixup_p(code_block *compiled);
17 void code_heap_free(code_block *compiled);