2009-05-04 02:46:13 -04:00
|
|
|
namespace factor
|
|
|
|
|
{
|
2009-09-25 21:32:00 -04:00
|
|
|
|
2009-10-06 02:42:17 -04:00
|
|
|
struct code_heap : heap {
|
|
|
|
|
/* What generation was being collected when trace_code_heap_roots() was last
|
|
|
|
|
called? Until the next call to add_code_block(), future
|
|
|
|
|
collections of younger generations don't have to touch the code
|
|
|
|
|
heap. */
|
|
|
|
|
cell last_code_heap_scan;
|
|
|
|
|
|
|
|
|
|
explicit code_heap(factor_vm *myvm, cell size);
|
2009-10-03 09:47:05 -04:00
|
|
|
};
|
|
|
|
|
|
2009-05-04 02:46:13 -04:00
|
|
|
}
|