summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2011-01-15 01:27:44 (GMT)
committerJason Evans <je@fb.com>2011-01-15 01:27:44 (GMT)
commit10e45230940bc0db43945d7b1445557e1405ebe0 (patch)
treedc312549ab51e7c968817084f347f80a1598677e /.gitignore
parent624f2f3cc9e6aa2a5eab18bd1eb84f89a6ac8b5c (diff)
downloadjemalloc-10e45230940bc0db43945d7b1445557e1405ebe0.zip
jemalloc-10e45230940bc0db43945d7b1445557e1405ebe0.tar.gz
jemalloc-10e45230940bc0db43945d7b1445557e1405ebe0.tar.bz2
Fix a heap dumping deadlock.
Restructure the ctx initialization code such that the ctx isn't locked across portions of the initialization code where allocation could occur. Instead artificially inflate the cnt_merged.curobjs field, just as is done elsewhere to avoid similar races to the one that would otherwise be created by the reduction in locking scope. This bug affected interval- and growth-triggered heap dumping, but not manual heap dumping.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions