Use OwnedSlice / ArcSlice and such even more.
Categories
(Core :: CSS Parsing and Computation, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(6 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
Bug 1550554 - Share computed and specified value representation of -moz-context-properties. r=heycam
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Assignee | ||
Comment 1•5 years ago
|
||
Share a singleton to avoid allocating for empty lists.
Assignee | ||
Comment 2•5 years ago
|
||
This adds a bit of complexity, which I think will pay off in the end. Removals
incoming.
Depends on D30543
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D30544
Assignee | ||
Comment 4•5 years ago
|
||
This saves the intermediate allocation.
Depends on D30545
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D30546
Assignee | ||
Comment 6•5 years ago
|
||
We could use ArcSlice if wanted I guess, your call. Though will change is not
supposed to be used very frequently.
Depends on D30547
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/45f171b26e95 Implement ArcSlice::default(). r=heycam https://hg.mozilla.org/integration/autoland/rev/57f2362aa538 Use an ArcSlice as the computed value representation of inherited list properties. r=heycam https://hg.mozilla.org/integration/autoland/rev/2c31fe18eefd Share computed and specified value representation of -moz-context-properties. r=heycam https://hg.mozilla.org/integration/autoland/rev/b28a48e2ed21 Use ArcSlice for quotes. r=heycam https://hg.mozilla.org/integration/autoland/rev/882ab9868c95 Add bindings for box shadows, and remove nsCSSShadowArray and friends. r=heycam https://hg.mozilla.org/integration/autoland/rev/b90c2cf5b8c5 Use OwnedSlice for will-change. r=heycam
Comment 9•5 years ago
|
||
Backed out 17 changesets (bug 1550554, bug 1549593, bug 1551991, bug 1529002) for failing multiple Android tests and Windows 2012 bustages
push that caused the backout: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Cusercancel%2Crunnable&revision=35f91a9ea82af8ba15ea08996149bb871d6957f8
backout: https://hg.mozilla.org/integration/autoland/rev/283b94c196a15367f287fd7f2bb6c9b4bcad0b45
Comment 10•5 years ago
|
||
New failure "Assertion failure: _0.ptr->data.header.header == kArcSliceCanary (Uh?), at z:/build/build/src/obj-firefox/dist/include\mozilla/ServoStyleConstsInlines.h:118"
Failure link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=246826943&repo=autoland&lineNumber=993
Assignee | ||
Comment 11•5 years ago
|
||
Yeah, the ArcSlice::default() sharing was busted for 32-bit builds, that's a bit of a shame :-)
I'll re-land with it fixed.
Comment 12•5 years ago
|
||
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7c2ff6058888 Implement ArcSlice::default(). r=heycam https://hg.mozilla.org/integration/autoland/rev/6524a34864c3 Use an ArcSlice as the computed value representation of inherited list properties. r=heycam https://hg.mozilla.org/integration/autoland/rev/79010ce706eb Share computed and specified value representation of -moz-context-properties. r=heycam https://hg.mozilla.org/integration/autoland/rev/1e32fe8538ed Use ArcSlice for quotes. r=heycam https://hg.mozilla.org/integration/autoland/rev/9efd6e065be9 Add bindings for box shadows, and remove nsCSSShadowArray and friends. r=heycam https://hg.mozilla.org/integration/autoland/rev/d0e6717d1cf0 Use OwnedSlice for will-change. r=heycam
Comment 13•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7c2ff6058888
https://hg.mozilla.org/mozilla-central/rev/6524a34864c3
https://hg.mozilla.org/mozilla-central/rev/79010ce706eb
https://hg.mozilla.org/mozilla-central/rev/1e32fe8538ed
https://hg.mozilla.org/mozilla-central/rev/9efd6e065be9
https://hg.mozilla.org/mozilla-central/rev/d0e6717d1cf0
Updated•5 years ago
|
Description
•