aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/utils.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-01-31 10:49:03 +0100
committerLukas Larsson <[email protected]>2019-02-22 11:12:54 +0100
commit2bf27ec51e331371412576a9a9a67353109109ad (patch)
tree6d3eec0f5b1cf8949b4b1ff1d87bbc369ca82606 /erts/emulator/beam/utils.c
parent1066040c35e96566e415c50042345fba865f10c8 (diff)
downloadotp-2bf27ec51e331371412576a9a9a67353109109ad.tar.gz
otp-2bf27ec51e331371412576a9a9a67353109109ad.tar.bz2
otp-2bf27ec51e331371412576a9a9a67353109109ad.zip
erts: Add ERL_NODE_BOOKKEEP to node tables refc
Diffstat (limited to 'erts/emulator/beam/utils.c')
-rw-r--r--erts/emulator/beam/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/utils.c b/erts/emulator/beam/utils.c
index 1e7b494a91..3fa09e39f2 100644
--- a/erts/emulator/beam/utils.c
+++ b/erts/emulator/beam/utils.c
@@ -3486,7 +3486,7 @@ store_external_or_ref_(Uint **hpp, ErlOffHeap* oh, Eterm ns)
if (is_external_header(*from_hp)) {
ExternalThing *etp = (ExternalThing *) from_hp;
ASSERT(is_external(ns));
- erts_refc_inc(&etp->node->refc, 2);
+ erts_ref_node_entry(etp->node, 2, make_boxed(to_hp));
}
else if (is_ordinary_ref_thing(from_hp))
return make_internal_ref(to_hp);