Closed
Bug 412370
Opened 17 years ago
Closed 15 years ago
GC collection heuristics busted
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P2)
Tamarin Graveyard
Garbage Collection (mmGC)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 486504
flash10.1
People
(Reporter: treilly, Assigned: rishah)
References
Details
if(!marking && !collecting && heapSizeAtLastAlloc > collectThreshold && now - lastSweepTicks > kMarkSweepBurstTicks && heapSizeAtLastAlloc < heap->GetTotalHeapSize()) { if(incremental) StartIncrementalMark(); else Collect(); } Should be: if((!marking && !collecting && heapSizeAtLastAlloc > collectThreshold && now - lastSweepTicks > kMarkSweepBurstTicks) || heapSizeAtLastAlloc < heap->GetTotalHeapSize()) { if(incremental) StartIncrementalMark(); else Collect(); } Written this way the first clause will be true frequently, its missing a condition based on kFreeSpaceDivisor (collect if the free space is less than the total heap size / kFreeSpaceDivisor) This has been working okay in practice accidentally b/c non-GC allocations are so common in the player.
Reporter | ||
Updated•17 years ago
|
OS: Windows XP → All
Hardware: PC → All
Comment 1•16 years ago
|
||
is this still active? has the fix been integrated in mmgc?
Updated•16 years ago
|
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Flags: flashplayer-qrb? → flashplayer-qrb+
Priority: -- → P2
Target Milestone: --- → flash10.x
Comment 3•15 years ago
|
||
See also bug #486504 for related issues.
Summary: GC collection huerstics busted → GC collection hueristics busted
Summary: GC collection hueristics busted → GC collection heuristics busted
Assignee: treilly → rishah
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•