move fixed object (mark and sweep) support into heap.cpp and refine algorithms for determining when and how much to GC

This commit is contained in:
Joel Dice
2007-10-28 13:14:53 -06:00
parent 60072b9fdc
commit 7f1837fecd
9 changed files with 463 additions and 500 deletions

View File

@ -232,10 +232,6 @@ bitsToFloat(uint32_t bits)
return f;
}
// an object must survive TenureThreshold + 2 garbage collections
// before being copied to gen2 (muat be at least 1):
const unsigned TenureThreshold = 3;
class Machine;
class Thread;