[PATCH] D59269: ELF: Use bump pointer allocator for uncompressed section buffers. NFCI.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 12 11:23:33 PDT 2019
ruiu added a comment.
I wonder how much does it actually cost to acquire a lock under the situation where there's no contention. Except this place, all accesses to BAlloc are already serialized, so there's usually no contention. If the cost of acquiring a lock under that situation is negligible, I'd imagine that always acquiring the lock could be a reasonable option.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59269/new/
https://reviews.llvm.org/D59269
More information about the llvm-commits
mailing list