Decouple PHC from replace_malloc
Categories
(Core :: Memory Allocator, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox120 | --- | fixed |
People
(Reporter: pbone, Assigned: pbone)
References
(Blocks 1 open bug)
Details
Attachments
(12 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 |
Assignee | ||
Comment 1•8 months ago
|
||
Assignee | ||
Comment 2•8 months ago
|
||
We want to link PHC directly alongside jemalloc so move its code into the
memory/build/ directory. This means that it's always statically linked even
when other replace_malloc libraries aren't.
The following patch will remove it from the replace_malloc configuration.
Depends on D188982
Updated•8 months ago
|
Updated•8 months ago
|
Assignee | ||
Comment 3•8 months ago
|
||
Depends on D188983
Updated•8 months ago
|
Assignee | ||
Comment 4•8 months ago
|
||
Depends on D188982
Updated•8 months ago
|
Assignee | ||
Comment 5•8 months ago
|
||
Depends on D188983
Updated•8 months ago
|
Assignee | ||
Comment 6•8 months ago
|
||
This will simplify references/linking between mozjemalloc and PHC. Plus
this code is clearer (more explicit) without it even though there's more
repitition.
Depends on D189241
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Assignee | ||
Comment 7•8 months ago
|
||
Move the AlignedAllocator class template into mozjemalloc.h where it can be
used by PHC also.
Depends on D190014
Updated•8 months ago
|
Updated•8 months ago
|
Assignee | ||
Comment 8•8 months ago
|
||
Depends on D190417
Assignee | ||
Comment 9•8 months ago
|
||
THis needs to move out so that the state can be accessed before gMut is
created.
Depends on D190419
Assignee | ||
Comment 10•8 months ago
|
||
We need to track if PHC failed to initialise. We can add a disabled state
to PHCState for that.
Depends on D190420
Assignee | ||
Comment 11•8 months ago
|
||
Depends on D190421
Assignee | ||
Comment 12•8 months ago
|
||
Depends on D190422
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Assignee | ||
Comment 13•8 months ago
|
||
Assignee | ||
Comment 14•8 months ago
|
||
This really only works-around the problem by adding an extra unused argument
to the macro.
Depends on D191133
Assignee | ||
Comment 15•8 months ago
|
||
Depends on D191134
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Assignee | ||
Comment 16•8 months ago
|
||
Depends on D191150
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Comment 17•8 months ago
|
||
Pushed by pbone@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9e6e82ff6969 pt 1. Fix a comment r=glandium https://hg.mozilla.org/integration/autoland/rev/498c79b32f88 pt 2. Move PHC into memory/build r=glandium https://hg.mozilla.org/integration/autoland/rev/fa9f1571404e pt 3. Define kAlloc{Junk,Poison} once for jemalloc and PHC r=glandium https://hg.mozilla.org/integration/autoland/rev/587d6c02f925 pt 4. PHC doesn't use the malloc table to call jemalloc r=glandium https://hg.mozilla.org/integration/autoland/rev/44c6b31c9fc0 pt 5. Remove templating around allocation classes r=glandium https://hg.mozilla.org/integration/autoland/rev/f79fd63f0906 pt 6. Move AlignedAllocator into a header r=glandium https://hg.mozilla.org/integration/autoland/rev/57c3eb49bb84 pt 7. Call PHC directly rather than through replace malloc r=glandium https://hg.mozilla.org/integration/autoland/rev/e656c6464f14 pt 8. Rename a variable r=glandium https://hg.mozilla.org/integration/autoland/rev/4418d8a41f12 pt 9. Move PHC interface from the bridge to PHC.h r=glandium https://hg.mozilla.org/integration/autoland/rev/c3d700756320 pt 10. Allow LOG() with zero extra arguments r=glandium https://hg.mozilla.org/integration/autoland/rev/34deef809a36 pt 11. PHC no-longer requires replace-malloc r=glandium https://hg.mozilla.org/integration/autoland/rev/294e392145f1 pt 12. Allow inlining between mozjemalloc and PHC r=glandium
Comment 18•8 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9e6e82ff6969
https://hg.mozilla.org/mozilla-central/rev/498c79b32f88
https://hg.mozilla.org/mozilla-central/rev/fa9f1571404e
https://hg.mozilla.org/mozilla-central/rev/587d6c02f925
https://hg.mozilla.org/mozilla-central/rev/44c6b31c9fc0
https://hg.mozilla.org/mozilla-central/rev/f79fd63f0906
https://hg.mozilla.org/mozilla-central/rev/57c3eb49bb84
https://hg.mozilla.org/mozilla-central/rev/e656c6464f14
https://hg.mozilla.org/mozilla-central/rev/4418d8a41f12
https://hg.mozilla.org/mozilla-central/rev/c3d700756320
https://hg.mozilla.org/mozilla-central/rev/34deef809a36
https://hg.mozilla.org/mozilla-central/rev/294e392145f1
Description
•