Closed
Bug 637992
Opened 14 years ago
Closed 14 years ago
blacklist pruning may rehash in midst of iteration (crash!)
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect)
Tamarin Graveyard
Garbage Collection (mmGC)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: pnkfelix, Assigned: pnkfelix)
References
Details
(Whiteboard: has-patch)
Attachments
(1 file)
781 bytes,
patch
|
treilly
:
review+
|
Details | Diff | Splinter Review |
The blacklist facility is useful when it works.
But it can currently break because in the loop of its pruning iteration, it calls GCHashtable::remove without overriding the default value for the rehash parameter.
This is really easy to fix.
(But better still to test the GCHashtable code more effectively by adding some debug state to fail-fast; will be filing separate bug for that shortly.)
Assignee | ||
Comment 1•14 years ago
|
||
(In reply to comment #0)
> (But better still to test the GCHashtable code more effectively by adding some
> debug state to fail-fast; will be filing separate bug for that shortly.)
Filed as Bug 637993.
Assignee: nobody → fklockii
Assignee | ||
Comment 2•14 years ago
|
||
See 637993 for start of testing strategy
Assignee | ||
Comment 3•14 years ago
|
||
Comment on attachment 516146 [details] [diff] [review]
simple patch
(i considered making a selftest to illustrate, but i'm not certain that is reasonable to do so. If prodded I will give it a shot.)
Attachment #516146 -
Flags: review?(treilly)
Assignee | ||
Updated•14 years ago
|
Whiteboard: has-patch
Updated•14 years ago
|
Attachment #516146 -
Flags: review?(treilly) → review+
Comment 4•14 years ago
|
||
changeset: 6032:4fc125271e47
user: Felix S Klock II <fklockii>
summary: Bug 637992: blacklist fix, delay pruning to post-iteration (r=treilly).
http://hg.mozilla.org/tamarin-redux/rev/4fc125271e47
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•