Exemplo n.º 1
0
 ImmixGC::ImmixGC(ObjectMemory* om)
   : GarbageCollector(om)
   , allocator_(gc_.block_allocator())
   , chunks_before_collection_(10)
 {
   gc_.describer().set_object_memory(om, this);
   reset_chunks_left();
 }
Exemplo n.º 2
0
 ImmixGC::ImmixGC(Memory* om)
   : GarbageCollector(om)
   , allocator_(gc_.block_allocator())
   , memory_(om)
   , marker_(NULL)
   , chunks_left_(0)
   , chunks_before_collection_(10)
   , diagnostics_(new Diagnostics())
 {
   gc_.describer().set_object_memory(om, this);
   reset_chunks_left();
 }