Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start jemalloc background threads manually after hugifyText
Summary: We cannot have threads running when remapping hottext, so don't create background threads automatically. The background threads are only created for server mode, after hugefyText. Script mode won't have it, which I think is fine. When running against older versions of jemalloc (in some OSS builds), the mallctl will fail, and we log a line, but nothing bad happens. Reviewed By: markw65 Differential Revision: D7054160 fbshipit-source-id: 3e7e8d2f093d683270959cd240a9fa21d4f7df53
- Loading branch information
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters