Refactoring in PHC
Categories
(Core :: Memory Allocator, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox142 | --- | fixed |
People
(Reporter: pbone, Assigned: pbone)
References
(Blocks 1 open bug)
Details
Attachments
(14 files, 4 obsolete files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
I started working on Bug 1867191 by doing some refactoring, but it's significant enough that it should be a new bug.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
Move this class to the top level.
| Assignee | ||
Comment 3•1 year ago
|
||
| Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Comment 5•1 year ago
|
||
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 7•1 year ago
|
||
| Assignee | ||
Comment 8•1 year ago
|
||
This was previously a macro, making it a function allows us to
forward-declare it and write the implementation later in the file.
| Assignee | ||
Comment 9•1 year ago
|
||
| Assignee | ||
Comment 10•1 year ago
|
||
| Assignee | ||
Comment 11•1 year ago
|
||
| Assignee | ||
Comment 12•1 year ago
|
||
A lot of code from outside the PHC class accesses data/methods within it
through the sPHC global. Instead move this code into the PHC class.
Some functions can be moved directly, others are split up and part of
them is moved.
- Move functions into the PHC class
- Move ReuseDelay into the class definition.
- Merge MaybePageRealloc into its caller.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 13•1 year ago
|
||
FragmentationBytes() and GetPageStats() now take the lock instead of
requiring their callers to do it.
| Assignee | ||
Comment 14•1 year ago
|
||
| Assignee | ||
Comment 15•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Comment 16•1 year ago
|
||
Use a simplie bounds check on the hot path before deciding what kind of
PHC pointer a particular pointer is.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 17•1 year ago
|
||
| Assignee | ||
Comment 18•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 19•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 20•1 year ago
|
||
Comment on attachment 9494008 [details]
Bug 1967689 - pt X. Simplify PHC's free hotpath
Revision D253289 was moved to bug 1867191. Setting attachment 9494008 [details] to obsolete.
Comment 21•1 year ago
|
||
Comment 22•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8b8bc8c68966
https://hg.mozilla.org/mozilla-central/rev/09a2d6cde40d
https://hg.mozilla.org/mozilla-central/rev/32ad4c49183b
https://hg.mozilla.org/mozilla-central/rev/f09f259858f0
https://hg.mozilla.org/mozilla-central/rev/ed97bd6c14ee
https://hg.mozilla.org/mozilla-central/rev/f61fc6f4c805
https://hg.mozilla.org/mozilla-central/rev/87c39ac9ef52
https://hg.mozilla.org/mozilla-central/rev/350e9c2e5b7d
https://hg.mozilla.org/mozilla-central/rev/565624be9973
https://hg.mozilla.org/mozilla-central/rev/4ca2601fcc2a
https://hg.mozilla.org/mozilla-central/rev/8d2c4c757634
https://hg.mozilla.org/mozilla-central/rev/b7f918e45523
https://hg.mozilla.org/mozilla-central/rev/b006227ddb8b
https://hg.mozilla.org/mozilla-central/rev/d8ccae6defca
Updated•1 year ago
|
Description
•