Open Bug 1814798 Opened 2 years ago Updated 1 year ago

Allow PHC to be enabled by a pref

Categories

(Core :: Memory Allocator, enhancement, P2)

enhancement

Tracking

()

ASSIGNED

People

(Reporter: pbone, Assigned: pbone)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

We'd like to enable PHC via a pref so that it can eventually be configured via Normandy and/or run on the Release channel. That also means being able to enable PHC late - after prefs have been read.

We could also let the parent process read the prefs and set environment variables for the child processes so they could enable it earlier.

Add the ability to enable and disable PHC at runtime through the malloc
bridge.

Depends on D178752

Depends on D178753

Attached file Bug 1814798 - pt 3. Add new phc pref r=glandium (obsolete) (deleted) —

Add a new pref for controlling PHC. The pref can be changed at runtime and
will affect the parent and content processes.

Depends on D178754

Attachment #9335375 - Attachment description: WIP: Bug 1814798 - pt 1. Add bool to enable/disable PHC at runtime → Bug 1814798 - pt 1. Add bool to enable/disable PHC at runtime r=glandium
Attachment #9335376 - Attachment description: WIP: Bug 1814798 - pt 2. Add a PHCManager component to control PHC → Bug 1814798 - pt 2. Add a PHCManager component to control PHC r=glandium
Attachment #9335377 - Attachment description: WIP: Bug 1814798 - pt 3. Add new phc pref → Bug 1814798 - pt 3. Add new phc pref r=glandium
Attachment #9335377 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: