mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 03:54:35 +00:00
67cd43209f
posix_fallocate iterates over each page/block in a shmem to ensure the OS allocates memory to back it. Large shmems will cause many read/write calls to be made, and when profiling, it is very likely a SIGPROF signal will interrupt us at sufficiently high sampling rates. Most attempts at retrying will fail for the same reason, and this can cause the threads to block for an indeterminate period of time. To work around this we use the profiler's "thread sleep" mechanism to indicate that the sampler thread should not interrupt this thread with the sampling signal more than once. Differential Revision: https://phabricator.services.mozilla.com/D87373 |
||
---|---|---|
.. | ||
src | ||
chromium-config.mozbuild | ||
moz.build |