aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_alloc.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-06-29 23:30:23 +0200
committerSverker Eriksson <[email protected]>2017-06-30 15:01:08 +0200
commitdbbf643c632a175a28ea39ba780947ff13eca039 (patch)
treed5772d7603404b967482350ce8de0b8e4db30407 /erts/emulator/beam/erl_alloc.h
parent5e1b5ef47f3f2b898d30e0425823835bd9a574d4 (diff)
downloadotp-dbbf643c632a175a28ea39ba780947ff13eca039.tar.gz
otp-dbbf643c632a175a28ea39ba780947ff13eca039.tar.bz2
otp-dbbf643c632a175a28ea39ba780947ff13eca039.zip
erts: Fix bug in quick alloc
The effect of the race is that a pre-allocated memory block is inserted last without updating tail.data.last, which will cause all subsequent insertions to also fail to update tail.data.last. Hence all pre-allocation for this quick alloc instance is leaked for this thread and will fallback on erts_alloc.
Diffstat (limited to 'erts/emulator/beam/erl_alloc.h')
0 files changed, 0 insertions, 0 deletions