aboutsummaryrefslogtreecommitdiffstats
path: root/prebuild.delete
diff options
context:
space:
mode:
authorMaxim Fedorov <[email protected]>2018-11-19 14:15:43 -0800
committerMaxim Fedorov <[email protected]>2018-11-26 11:27:12 -0800
commit63077f5bb3011ec9a14aa9b9e39ed31e4525078b (patch)
treed8399c688de7e1cfda7655f0f2dfc6b2bbb75755 /prebuild.delete
parentd743f51960384dd17ae3cb905ec57e8012c3abd7 (diff)
downloadotp-63077f5bb3011ec9a14aa9b9e39ed31e4525078b.tar.gz
otp-63077f5bb3011ec9a14aa9b9e39ed31e4525078b.tar.bz2
otp-63077f5bb3011ec9a14aa9b9e39ed31e4525078b.zip
erts: fix attempt to start timer when executing on dirty scheduler
Since OTP R20, there is a possibility for MAJOR garbage collection to run on dirty scheduler. So DistEntry destructor is being called on dirty scheduler as well. This, in turn, leads to an attempt to schedule timer on a dirty scheduler too, which is impossible (and will assert on debug build, but does succeed for release build, creating an infinite busy loop, since aux work wakes scheduler up, but dirty scheduler cannot execute aus work). There is a similar method in erl_hl_timer, see erts_start_timer_callback.
Diffstat (limited to 'prebuild.delete')
0 files changed, 0 insertions, 0 deletions