[all-commits] [llvm/llvm-project] 216957: [scudo][standalone] Workaround for full regions on...
Kostya Kortchinsky via All-commits
all-commits at lists.llvm.org
Thu Feb 13 12:54:52 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 21695710cfa9a36256e9547155e2b9e0139f5c6a
https://github.com/llvm/llvm-project/commit/21695710cfa9a36256e9547155e2b9e0139f5c6a
Author: Kostya Kortchinsky <kostyak at google.com>
Date: 2020-02-13 (Thu, 13 Feb 2020)
Changed paths:
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
Log Message:
-----------
[scudo][standalone] Workaround for full regions on Android
Summary:
Due to Unity, we had to reduce our region sizes, but in some rare
situations, some programs (mostly tests AFAICT) manage to fill up
a region for a given size class.
So this adds a workaround for that attempts to allocate the block
from the immediately larger size class, wasting some memory but
allowing the application to keep going.
Reviewers: pcc, eugenis, cferris, hctim, morehouse
Subscribers: #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D74567
More information about the All-commits
mailing list