зеркало из https://github.com/mozilla/gecko-dev.git
5cae64e6d5
This new method allows to do some kind of diff between two allocation sites records. It will ignore/substract the allocation sites from the first record when processing the second. As this can sometime return only allocations without stacks, the old view, showing all the allocations is still helpful. Also both views can't work at the same time. So, DEVTOOLS_DEBUG_ALLOCATIONS env variable is used to enable one of the two views. DEVTOOLS_DEBUG_ALLOCATIONS=allocations will display all the allocation log (which may display allocations which have been freed) DEVTOOLS_DEBUG_ALLOCATIONS=leaks will display only the allocation which are still allocated at the end of the test. So it should only display leaks. Differential Revision: https://phabricator.services.mozilla.com/D123833 |
||
---|---|---|
.. | ||
.eslintrc.js | ||
allocation-tracker.js | ||
browser.ini | ||
browser_allocation_tracker.js |