Closed
Bug 1116455
Opened 6 years ago
Closed 6 years ago
Refactor some GC internals
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
mozilla37
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(2 files)
4.71 KB,
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
20.37 KB,
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
As suggested in bug 1032750, move isCloseToAllocTrigger() to the ZoneHeapThreshold class.
Attachment #8542525 -
Flags: review?(terrence)
Assignee | ||
Comment 1•6 years ago
|
||
Replace comparisons of GCRuntime::incrementalState with NO_INCREMENTAL with calls to isIncrementalGCInProgress(). I changed the definition of that method to ignore the state of the pre-barrier verifier and moved that check into JS::IsIncrementalGCInProgress() which was its only caller. If you can think of a more snappy name though I'll update it because isIncrementalGCInProgress is a bit of a mouthful.
Attachment #8542526 -
Flags: review?(terrence)
Updated•6 years ago
|
Attachment #8542525 -
Flags: review?(terrence) → review+
Comment 2•6 years ago
|
||
Comment on attachment 8542526 [details] [diff] [review] use-isIncrementalGCInProgress Review of attachment 8542526 [details] [diff] [review]: ----------------------------------------------------------------- \o/
Attachment #8542526 -
Flags: review?(terrence) → review+
Assignee | ||
Comment 3•6 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e66b5fdd480c https://hg.mozilla.org/integration/mozilla-inbound/rev/f996eb4935c6
https://hg.mozilla.org/mozilla-central/rev/e66b5fdd480c https://hg.mozilla.org/mozilla-central/rev/f996eb4935c6
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in
before you can comment on or make changes to this bug.
Description
•