summaryrefslogtreecommitdiffstats
path: root/src/jemalloc_cpp.cpp
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-10-30 05:41:04 (GMT)
committerJason Evans <jasone@canonware.com>2016-10-30 05:46:52 (GMT)
commitc443b67561891ae68d688daf5f8ce37820cdba2b (patch)
treea13b6921748dc39f55891d1aeb92bacd46e83985 /src/jemalloc_cpp.cpp
parent35a108c809038179b7d9932447c75e02171dc3e4 (diff)
downloadjemalloc-c443b67561891ae68d688daf5f8ce37820cdba2b.zip
jemalloc-c443b67561891ae68d688daf5f8ce37820cdba2b.tar.gz
jemalloc-c443b67561891ae68d688daf5f8ce37820cdba2b.tar.bz2
Use syscall(2) rather than {open,read,close}(2) during boot.
Some applications wrap various system calls, and if they call the allocator in their wrappers, unexpected reentry can result. This is not a general solution (many other syscalls are spread throughout the code), but this resolves a bootstrapping issue that is apparently common. This resolves #443.
Diffstat (limited to 'src/jemalloc_cpp.cpp')
0 files changed, 0 insertions, 0 deletions