Closed Bug 1129424 Opened 9 years ago Closed 9 years ago

Simplify shape parent liveness test

Categories

(Core :: JavaScript: GC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla38
Tracking Status
firefox38 --- fixed

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(1 file)

Since we no longer free any shape arenas until all shapes in a zone have been swept, we can simplify the logic in Shape::sweep() used to determine whether a dead shape's parent is still alive.  This used to have to account for the fact that the parent might have died and the memory reallocated to a live shape that was subsequently marked by being allocated in a zone that was being incrementally marked.
Attachment #8559127 - Flags: review?(terrence)
Attachment #8559127 - Flags: review?(terrence) → review+
https://hg.mozilla.org/mozilla-central/rev/f10936cd48e1
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: