зеркало из https://github.com/mozilla/gecko-dev.git
734922ce3d
Instead of setting a ceiling on how much we are willing to allocate, we should always try to reallocate a buffer the same size that we used before. If we cannot, we should fail gracefully and just not preallocate at all. This should help with profiles where we consistently need a larger payload buffer than the previous maximum, while minimizing OOM crashes on the other side, where our preallocations fail and/or are more than the next display list update actually requires. Differential Revision: https://phabricator.services.mozilla.com/D154951 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |