Closed
Bug 1085435
Opened 10 years ago
Closed 10 years ago
Refactor definition of finalization phases
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
mozilla36
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(1 file)
15.68 KB,
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
At the moment the different finalization phases are partly defined by data arrays at the start of jsgc.cpp (e.g. FinalizePhases) and partly procedurally by methods like ArenaLists::queueScriptsForSweep(), and there is overlap between the two.
We should refactor this so that the arrays define everything and then use them everywhere.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8508069 -
Flags: review?(terrence)
Comment 2•10 years ago
|
||
Comment on attachment 8508069 [details] [diff] [review]
refactor-finalization
Review of attachment 8508069 [details] [diff] [review]:
-----------------------------------------------------------------
Great! It looks like this gives us a nice dichotomy: loops-without-initializer == incremental; loops-with-initializer == non-incremental.
Attachment #8508069 -
Flags: review?(terrence) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in
before you can comment on or make changes to this bug.
Description
•