aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/binary.c
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-08-30 14:21:49 +0200
committerPatrik Nyblom <[email protected]>2010-08-30 14:21:49 +0200
commitbe798f416bcab08df788101be486e8f33cd62320 (patch)
tree77b699ed254187b5facb6baaf396c05f951c0a24 /erts/emulator/beam/binary.c
parent5b91c9f8e79f0e8eb0a5816fd54c5603f1c6df29 (diff)
parent7664e3ac07f51522b464e550e6012056d4ab45d5 (diff)
downloadotp-be798f416bcab08df788101be486e8f33cd62320.tar.gz
otp-be798f416bcab08df788101be486e8f33cd62320.tar.bz2
otp-be798f416bcab08df788101be486e8f33cd62320.zip
Merge branch 'egil/R14A/binary-gc-wrap/OTP-8730' into dev
* egil/R14A/binary-gc-wrap/OTP-8730: Increase vheap counter to Uint64 Fix wrapping in next vheap calculation
Diffstat (limited to 'erts/emulator/beam/binary.c')
-rw-r--r--erts/emulator/beam/binary.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/binary.c b/erts/emulator/beam/binary.c
index 3fd714f9c2..8ee8fbcb29 100644
--- a/erts/emulator/beam/binary.c
+++ b/erts/emulator/beam/binary.c
@@ -97,7 +97,7 @@ new_binary(Process *p, byte *buf, int len)
/*
* Miscellanous updates. Return the tagged binary.
*/
- MSO(p).overhead += pb->size / sizeof(Eterm);
+ OH_OVERHEAD(&(MSO(p)), pb->size / sizeof(Eterm));
return make_binary(pb);
}
@@ -136,7 +136,7 @@ Eterm erts_new_mso_binary(Process *p, byte *buf, int len)
/*
* Miscellanous updates. Return the tagged binary.
*/
- MSO(p).overhead += pb->size / sizeof(Eterm);
+ OH_OVERHEAD(&(MSO(p)), pb->size / sizeof(Eterm));
return make_binary(pb);
}