aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_validator.erl
diff options
context:
space:
mode:
authorKjell Winblad <[email protected]>2019-04-08 17:11:25 +0200
committerKjell Winblad <[email protected]>2019-04-18 17:39:11 +0200
commit62da0f2dff72fc5d58e549593fe9c73610713d9c (patch)
treeb89a466b4093b1f3f7dc7b27ecb4190f5d8ffcf6 /lib/compiler/src/beam_validator.erl
parent1edbf63cf20b44d2bdc9370427ee2575f07f642d (diff)
downloadotp-62da0f2dff72fc5d58e549593fe9c73610713d9c.tar.gz
otp-62da0f2dff72fc5d58e549593fe9c73610713d9c.tar.bz2
otp-62da0f2dff72fc5d58e549593fe9c73610713d9c.zip
Make persistent_term:put/2 and persistent_term:erase/1 yield
Prior to this commit, the functions put/2 and erase/1 in the persistent_term module did not yield even if the persistent term table was large (the persistent term table is copied every time put/2 or erase/1 is called). Furthermore, a call to put/2 or erase/1 did only consume a single reduction. This commit fixes these problems.
Diffstat (limited to 'lib/compiler/src/beam_validator.erl')
0 files changed, 0 insertions, 0 deletions