diff options
author | Sverker Eriksson <[email protected]> | 2011-07-26 17:09:22 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2011-07-26 17:09:22 +0200 |
commit | 9cd77a455b7faa05e8f9364bdbd16c57836e71c9 (patch) | |
tree | 15d3682abe4c128ccdaf8b13d70a11cc751b481f /erts/emulator/beam/erl_alloc.h | |
parent | 25bbf48a7cf7576ba18e95dd268c66b63ec698e0 (diff) | |
parent | 11c1e9cb50a86f193bbd9be033b75298de85875f (diff) | |
download | otp-9cd77a455b7faa05e8f9364bdbd16c57836e71c9.tar.gz otp-9cd77a455b7faa05e8f9364bdbd16c57836e71c9.tar.bz2 otp-9cd77a455b7faa05e8f9364bdbd16c57836e71c9.zip |
Merge branch 'sverker/sbmbc-fixup' into dev
* sverker/sbmbc-fixup:
Small fixups for rickard/sbmbc/OTP-9339
Diffstat (limited to 'erts/emulator/beam/erl_alloc.h')
-rw-r--r-- | erts/emulator/beam/erl_alloc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_alloc.h b/erts/emulator/beam/erl_alloc.h index ce792d4d17..c35a60da22 100644 --- a/erts/emulator/beam/erl_alloc.h +++ b/erts/emulator/beam/erl_alloc.h @@ -99,6 +99,14 @@ unsigned long erts_alc_test(unsigned long, #define ERTS_ALC_MIN_LONG_LIVED_TIME (10*60*1000) +#if HALFWORD_HEAP +#define ERTS_IS_SBMBC_ALLOCATOR_NO__(NO) \ + ((NO) == ERTS_ALC_A_SBMBC || (NO) == ERTS_ALC_A_SBMBC_LOW) +#else +#define ERTS_IS_SBMBC_ALLOCATOR_NO__(NO) \ + ((NO) == ERTS_ALC_A_SBMBC) +#endif + typedef struct { int alloc_util; int enabled; |