Closed
Bug 1687002
Opened 5 years ago
Closed 5 years ago
The incremental marking validator doesn't work
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
86 Branch
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
While working on refactoring the Chunk layout I noticed that the marking validator doesn't actually do anything. Although the ChunkBitmap methods to check mark bits are not static, they don't use |this| but find the bitmap from the cell pointer given. This means the marking validator effectively compares each mark bitmap against itself.
This is the code in question: https://searchfox.org/mozilla-central/source/js/src/gc/Verifier.cpp#704-726
This stems from the change to define GetGCThingMarkWordAndMask in HeapAPI.h so that it could be inlined externally to the engine.
Assignee | ||
Comment 1•5 years ago
|
||
This patch makes ChunkBitmap::getMarkWordAndMask into an instance method so that the uses in MarkingValidator access the correct bitmap.
Depends on D101778
Updated•5 years ago
|
Assignee: nobody → jcoppeard
Status: NEW → ASSIGNED
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/abdfa91676ff
Fix incremental marking validator r=sfink
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox86:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Updated•4 years ago
|
Keywords: regression
Updated•4 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•