This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Reduce stack depot size on Android.
ClosedPublic

Authored by eugenis on Jan 4 2019, 2:29 PM.

Details

Summary

The default setting kTabSizeLog=20 results in an 8Mb global hash table,
almost all of it in private pages. That is not a sane setting in a
mobile, system-wide use case: with ~150 concurrent processes stack
depot will account for more than 1Gb of RAM.

Diff Detail

Repository
rL LLVM

Event Timeline

eugenis created this revision.Jan 4 2019, 2:29 PM
kcc accepted this revision.Jan 4 2019, 2:51 PM

LGTM

This revision is now accepted and ready to land.Jan 4 2019, 2:51 PM
This revision was automatically updated to reflect the committed changes.