gecko-dev/mozglue
Gerald Squelart bccea8601e Bug 1571171 - Clamp profiler capacity to allowed values - r=canaltinova
The profiler can be given any power of two, but there were no safety checks to ensure that the buffer had a minimum workable capacity (to hold at least 4 chunks, each capable of holding at least one stack sample), and also to prevent large buffers that could break the currently-supported 2GiB limit.

This fixes the issue with test_merged_stacks.js, which was requesting a too-small buffer. (This started when we switched to the chunk-based buffer, because the profiler was blindly using the provided number as maximum, and dividing that size by 4 for each chunk, which was not enough to hold a full sample in some builds.)

Differential Revision: https://phabricator.services.mozilla.com/D73212
2020-05-04 12:49:30 +00:00
..
android Bug 1557570 - Call baseprofiler::profiler_init() from the first mozglue function that runs. r=gerald 2020-03-17 04:15:04 +00:00
baseprofiler Bug 1571171 - Clamp profiler capacity to allowed values - r=canaltinova 2020-05-04 12:49:30 +00:00
build Backed out 6 changesets (bug 1632916, bug 1599658, bug 1633037, bug 1633039, bug 1633016, bug 1632920) for SA bustages CLOSED TREE 2020-05-02 01:49:29 +03:00
dllservices Bug 1630281 - Cache the executable's IAT for ntdll.dll before COM initialization. r=mhowell 2020-04-30 18:26:18 +00:00
linker Bug 1626884 - Make RC non-copyable and declare operator= only in debug builds. r=froydnj 2020-04-06 09:17:34 +00:00
misc Bug 1620118 - Part 1: Add ProcessedModuleLoadEvent::mIsDependent. r=aklotz 2020-05-04 17:20:51 +00:00
static Bug 1617369 - Reformat mozglue/ using rustfmt r=glandium 2020-03-04 06:12:38 +00:00
tests Bug 1620118 - Part 1: Add ProcessedModuleLoadEvent::mIsDependent. r=aklotz 2020-05-04 17:20:51 +00:00
moz.build Bug 1598196 - Support disabling the linker on Android in the code. r=froydnj 2019-11-21 14:57:24 +00:00