Closed
Bug 1568454
Opened 7 years ago
Closed 7 years ago
Invocation kind for a new collection can be set while a collection is running
Categories
(Core :: JavaScript: GC, defect, P1)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
mozilla70
| Tracking | Status | |
|---|---|---|
| firefox70 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(1 external file)
In GCRuntime::gc() we set GCRuntime::invocationKind before calling collect(), but we could be in the middle of an incremental GC. Instead we should pass the kind parameter down with the reason parameter, and set this in the first slice.
Comment 1•7 years ago
|
||
Type: defect → task
| Assignee | ||
Comment 2•7 years ago
|
||
This is slightly complicated by the fact that we should only pass an invocation kind for the first slice, so it's passed as Maybe<>.
Depends on D39221
| Assignee | ||
Updated•7 years ago
|
Type: task → defect
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7b97deb4ae68
Set GCRuntime::invocationKind in the first slice of a collection r=sfink
Comment 4•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in
before you can comment on or make changes to this bug.
Description
•