Because of lock contention, we temporarily disabled the printing of
regions' status when it's exhausted. Given that it's useful when the
Region OOM happens, this CL brings it back without lock contention.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/scudo/standalone/primary64.h | ||
---|---|---|
112 | Both this one and the one below should probably be const. | |
146 | Looks like there might an extra semi-colon here. | |
155 | Is the change from ==1 to >=2 related to the issue at hand? | |
170 | I agree that it should die if we can't get BatchClassId blocks, otherwise it's going to spiral quickly into something that might be harder to debug. |
Both this one and the one below should probably be const.