diff options
author | Jason Evans <jasone@canonware.com> | 2017-05-16 20:25:17 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2017-05-23 22:31:29 (GMT) |
commit | 196a53c2aec9fd9fbd17af6803d75c7f631c1ae3 (patch) | |
tree | 9a1fa9424562269a4d361b58f09de057a814eae6 /src/base.c | |
parent | 067b97013018211b39e9911ae528ff54edd8fe5e (diff) | |
download | jemalloc-196a53c2aec9fd9fbd17af6803d75c7f631c1ae3.zip jemalloc-196a53c2aec9fd9fbd17af6803d75c7f631c1ae3.tar.gz jemalloc-196a53c2aec9fd9fbd17af6803d75c7f631c1ae3.tar.bz2 |
Do not assume dss never decreases.
An sbrk() caller outside jemalloc can decrease the dss, so add a
separate atomic boolean to explicitly track whether jemalloc is
concurrently calling sbrk(), rather than depending on state outside
jemalloc's full control.
This resolves #802.
Diffstat (limited to 'src/base.c')
0 files changed, 0 insertions, 0 deletions