Closed
Bug 1587098
Opened 5 years ago
Closed 5 years ago
Add a configuration flag to enable WeakRefs in the shell
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla72
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Add a flag to disable the weak references implementation by default.
The main point of this is to hide the weak references APIs from JS; we can still make changes to GC machinery non-configurable.
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → jcoppeard
Assignee | ||
Comment 1•5 years ago
|
||
I was originally thinking of making this a built-time configure flag, but it would be simpler to make this a pref. This would also make it easier for people to experiment with it.
I'm proposing calling this javascript.options.weakrefs.
Summary: Add a configuration flag for WeakRefs → Add a preference to enable WeakRefs
Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Attachment #9103008 -
Attachment description: Bug 1587098 - WIP: Add a pref to enable weak references, off by default → Bug 1587098 - Add a pref to enable support for weak references, off by default r?sfink r?mccr8
Updated•5 years ago
|
Attachment #9103008 -
Attachment description: Bug 1587098 - Add a pref to enable support for weak references, off by default r?sfink r?mccr8 → Bug 1587098 - Add a shell option to enable support for weak references, off by default r?sfink
Updated•5 years ago
|
Attachment #9103008 -
Attachment description: Bug 1587098 - Add a shell option to enable support for weak references, off by default r?sfink → Bug 1587098 - Add a shell option to enable support for weak references, off by default r=sfink
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f273ec2ec0ae Add a shell option to enable support for weak references, off by default r=sfink
Comment 4•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Comment 5•5 years ago
|
||
Is it available as a pref javascript.options.weakrefs as was proposed in https://bugzilla.mozilla.org/show_bug.cgi?id=1587098#c1
Assignee | ||
Comment 6•5 years ago
|
||
(In reply to Sergey Rubanov from comment #5)
No, this is shell only for the moment. Sorry for the confusion.
Summary: Add a preference to enable WeakRefs → Add a preference to enable WeakRefs in the shell
Assignee | ||
Updated•5 years ago
|
Summary: Add a preference to enable WeakRefs in the shell → Add a configuration flag to enable WeakRefs in the shell
You need to log in
before you can comment on or make changes to this bug.
Description
•