Closed
Bug 1343620
Opened 8 years ago
Closed 6 years ago
Make use of annotations.RootedPointers and JS_HAZ_ROOTED
Categories
(Core :: JavaScript: GC, enhancement, P3)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: sfink, Assigned: sfink)
References
(Blocks 1 open bug)
Details
(Keywords: triage-deferred)
Attachments
(1 file)
(deleted),
patch
|
pbone
:
review+
|
Details | Diff | Splinter Review |
mccr8 correctly pointed out that annotations.RootedPointers is never used. Which means that JS_HAZ_ROOTED does nothing.
isRootedTypeName really ought to consult that variable instead of just using weird hardcoded parsing. (Actually, it should probably check the variable first, then use weird hardcoded parsing for whatever is inconvenient to annotate in the source.)
Updated•7 years ago
|
Keywords: triage-deferred
Priority: -- → P3
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
I guess so. And https://treeherder.mozilla.org/#/jobs?repo=try&revision=5bde6d7478a28415eb743cc8d8c098a5ca8123b7 seems to say we can get rid of just about all of those out-of-source special cases now. (The TokenStream thing is different, sadly.)
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → sphink
Status: NEW → ASSIGNED
Comment 4•6 years ago
|
||
Comment on attachment 8984620 [details] [diff] [review]
Use JS_HAZ_ROOTED everywhere instead of programmatic annotations
Review of attachment 8984620 [details] [diff] [review]:
-----------------------------------------------------------------
As far as I can tell thie makes sense.
Thanks, I also agree using JS_HAZ_ROOTED is better.
Attachment #8984620 -
Flags: review?(pbone) → review+
Pushed by sfink@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b15524c982e9
Use JS_HAZ_ROOTED everywhere instead of programmatic annotations, r=pbone
Comment 6•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•