Closed
Bug 388080
Opened 18 years ago
Closed 18 years ago
Apparent no-op in GC.cpp
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect)
Tamarin Graveyard
Garbage Collection (mmGC)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: jorendorff, Assigned: jorendorff)
Details
Attachments
(1 file)
|
608 bytes,
patch
|
Details | Diff | Splinter Review |
In file MMgc/GC.cpp, function void GC::MarkItem(GCWorkItem &wi, GCStack<GCWorkItem> &work), lines 2157-2159:
2157 // clear queued bit
2158 *pbits = bits2 & ~(GCAlloc::kQueued << shift);
2159 *pbits = bits2 | (GCAlloc::kMark << shift);
It looks like line 2159 clobbers the result of line 2158. So the queued bit is not actually cleared.
| Assignee | ||
Updated•18 years ago
|
Component: Tamarin → Garbage Collection (mmGC)
OS: Mac OS X → All
Product: Core → Tamarin
QA Contact: tamarin → gc
Hardware: PC → All
Comment 1•18 years ago
|
||
Line 2158 should just be removed, this code is for items that don't contain pointers which are never queued. Its not broken, just doing extra work.
| Assignee | ||
Comment 2•18 years ago
|
||
I pushed the attached patch (on the strength of treilly's suggestion, not to stand on ceremony). Changeset 1c5d883131a0.
Assignee: nobody → jorendorff
Status: NEW → ASSIGNED
| Assignee | ||
Updated•18 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•