Closed
Bug 1843973
Opened 2 years ago
Closed 2 years ago
Do not root CompilationInput in DelazifyCanonicalScriptedFunctionImpl
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
117 Branch
| Tracking | Status | |
|---|---|---|
| firefox117 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
In FrontendContext variant of delazification, CompilationInput doesn't contain any GC pointer and it doesn't need tracing.
Rooted<CompilationInput> input(cx, CompilationInput(options));
we could do in the same way as CompilationStorage, but without allocating it on heap.
struct CompilationStorage {
...
JS_HAZ_NON_GC_POINTER js::frontend::CompilationInput* input_ = nullptr;
| Assignee | ||
Comment 1•2 years ago
|
||
Depends on D183831
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/62bbf798e78d
Do not root CompilationInput in DelazifyCanonicalScriptedFunctionImpl. r=nbp
Comment 3•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox117:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•