Bug 1678651 - Increase expected max stack record size to 128KB - r=canaltinova

Some sites do have stacks that require more than 64KB to store in the profiler buffer.
Note that this only affects one semi-permanent buffer per process during profiling, and short-lived buffers when capturing stacks in markers.

Differential Revision: https://phabricator.services.mozilla.com/D99981
This commit is contained in:
Gerald Squelart 2020-12-22 10:51:12 +00:00
Родитель f1f98f5879
Коммит 8d7e1cf68d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -39,7 +39,7 @@ class ProfileBufferChunkManager {
// Most ChunkManager sub-classes will require chunk sizes, this can serve as
// a minimum recommendation to hold most backtraces.
constexpr static ProfileBufferChunk::Length scExpectedMaximumStackSize =
64 * 1024;
128 * 1024;
// Estimated maximum buffer size.
[[nodiscard]] virtual size_t MaxTotalSize() const = 0;