Closed
Bug 1027425
Opened 10 years ago
Closed 10 years ago
Clean up static initializers for proxy handler instances
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: efaust, Assigned: efaust)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
66.88 KB,
patch
|
bzbarsky
:
review+
froydnj
:
review+
|
Details | Diff | Splinter Review |
We have all these singleton instances of C++ Proxy Handlers laying around, and calling static initializers for them is silly, and costly for b2g, as I understand it. Some months ago, I told Nathan he was gonna ruin a patch of mine if he went forward with fixing this, and that I would take care of it. Now that we're doing bug 1027402, this should be pretty straight forward
Assignee | ||
Comment 1•10 years ago
|
||
Finally do what I promised forever ago. I will push this stack to try as soon as it reopens and post here. r? froydnj to ensure someone who knows all the ins and outs takes a look at this.
Assignee: nobody → efaustbmo
Status: NEW → ASSIGNED
Attachment #8477080 -
Flags: review?(nfroyd)
Attachment #8477080 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 2•10 years ago
|
||
Fix some failures seen on try after I was finally able to push. This patch, as well as those from the two open blockers on try at https://tbpl.mozilla.org/?tree=Try&rev=d6dee568944f
Attachment #8477080 -
Attachment is obsolete: true
Attachment #8477080 -
Flags: review?(nfroyd)
Attachment #8477080 -
Flags: review?(bzbarsky)
Attachment #8477812 -
Flags: review?(nfroyd)
Attachment #8477812 -
Flags: review?(bzbarsky)
Comment 3•10 years ago
|
||
Comment on attachment 8477812 [details] [diff] [review] Patch v2 Should jswrapper really be using aFoo arg names? The WaiveXrayWrapper ctor should be explicit, I'd hope. Why did a bunch of the Xray helper classes move to the header? Is it just so we can make XrayWrapper have a constexpr ctor? That seems really annoying. :( Can we just leave it be? r=me on the rest, but I'd like to understand what the deal is with the Xray changes.
Attachment #8477812 -
Flags: review?(bzbarsky) → review+
Comment 4•10 years ago
|
||
Comment on attachment 8477812 [details] [diff] [review] Patch v2 Review of attachment 8477812 [details] [diff] [review]: ----------------------------------------------------------------- Worth explicitly noting that this won't help B2G until we upgrade the (Gecko) compiler for B2G, since GCC < 4.6 doesn't support constexpr...but at least everybody else benefits in the interim!
Attachment #8477812 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 5•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f41c1edabfe8
Comment 6•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f41c1edabfe8
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Updated•10 years ago
|
Flags: qe-verify-
You need to log in
before you can comment on or make changes to this bug.
Description
•