diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-06-18 17:03:48 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-06-24 16:22:31 +0200 |
commit | d6712b1c54de471beb1784bb329ea217767f70ff (patch) | |
tree | ffa3f225fd0592d780226222adecee7126cf8d4c /erts/emulator/beam/erl_db_util.c | |
parent | ba020bd06c34eaf5b450495a852f31357ef042b5 (diff) | |
download | otp-d6712b1c54de471beb1784bb329ea217767f70ff.tar.gz otp-d6712b1c54de471beb1784bb329ea217767f70ff.tar.bz2 otp-d6712b1c54de471beb1784bb329ea217767f70ff.zip |
erts: Reinstate copy_object over-allocation optimization
Diffstat (limited to 'erts/emulator/beam/erl_db_util.c')
-rw-r--r-- | erts/emulator/beam/erl_db_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_db_util.c b/erts/emulator/beam/erl_db_util.c index ae9a853411..8047711e6f 100644 --- a/erts/emulator/beam/erl_db_util.c +++ b/erts/emulator/beam/erl_db_util.c @@ -2160,7 +2160,7 @@ restart: n = *pc++; ASSERT(is_value(variables[n].term)); ASSERT(!variables[n].proc); - variables[n].term = copy_object(variables[n].term, c_p); + variables[n].term = copy_object_x(variables[n].term, c_p, HEAP_XTRA); *esp++ = variables[n].term; #ifdef DEBUG variables[n].proc = c_p; |