Closed
Bug 872185
Opened 11 years ago
Closed 11 years ago
Annotate a couple of rooting analysis false positives
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(1 file)
3.83 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
Add annotations to fix the following rooting analysis false positives: js/src/builtin/Intl.cpp:1280: Function 'int32 js::intl_numberingSystem(JSContext*, uint32, JS::Value*)' has unrooted 'jsname' of type 'JSString*' live across GC call icu_50::UObject.__deleting_dtor - I don't believe ICU objects can call possibly call javascript in their destructors js/src/ion/AsmJS.cpp:5601: Function 'AsmJS.cpp:uint8 CheckModule(JSContext*, js::frontend::TokenStream*, js::frontend::ParseNode*, struct js::ScopedJSDeletePtr<js::AsmJSModule>*)' has unrooted 'm' of type 'ModuleCompiler' live across GC call 'uint8 ModuleCompiler::init()' - ModuleCompiler contains unrooted JSAtoms, however it's not possible for this to be on the stack without an AutoKeepAtoms, so I added this to the annotations and comment in the source.
Attachment #749431 -
Flags: review?(sphink)
Comment 1•11 years ago
|
||
Comment on attachment 749431 [details] [diff] [review] Proposed changes Review of attachment 749431 [details] [diff] [review]: ----------------------------------------------------------------- Ugh. But I can't think of anything better.
Attachment #749431 -
Flags: review?(sphink) → review+
Assignee | ||
Comment 2•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e1290fb9b72e
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e1290fb9b72e
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in
before you can comment on or make changes to this bug.
Description
•