diff options
author | Sverker Eriksson <[email protected]> | 2012-11-08 21:30:32 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2012-11-15 14:20:37 +0100 |
commit | 0b18830887c6925a45a74eef97ee6e4c81e4f94d (patch) | |
tree | 188f2df0d99456fff5c7c79e7a6324706416cf97 /erts/emulator/beam/erl_alloc_util.h | |
parent | 195f9fa243d286420c87bef8aefc6c810feb1877 (diff) | |
download | otp-0b18830887c6925a45a74eef97ee6e4c81e4f94d.tar.gz otp-0b18830887c6925a45a74eef97ee6e4c81e4f94d.tar.bz2 otp-0b18830887c6925a45a74eef97ee6e4c81e4f94d.zip |
erts: Change single carrier block header flags
to allow realloc to determine block size (in MBC or SBC)
without having to read the footer of the previous block
that might be written to by concurrent thread.
Diffstat (limited to 'erts/emulator/beam/erl_alloc_util.h')
-rw-r--r-- | erts/emulator/beam/erl_alloc_util.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_alloc_util.h b/erts/emulator/beam/erl_alloc_util.h index f440752c4a..1e6ba5736a 100644 --- a/erts/emulator/beam/erl_alloc_util.h +++ b/erts/emulator/beam/erl_alloc_util.h @@ -233,8 +233,6 @@ erts_aint32_t erts_alcu_fix_alloc_shrink(Allctr_t *, erts_aint32_t); #define MBC_BLK_SZ(B) (ASSERT_EXPR(!is_sbc_blk(B)), (B)->bhdr & MBC_BLK_SZ_MASK) #define SBC_BLK_SZ(B) (ASSERT_EXPR(is_sbc_blk(B)), (B)->bhdr & SBC_BLK_SZ_MASK) -#define BLK_SZ(B) ((B)->bhdr & (IS_SBC_BLK(B) ? SBC_BLK_SZ_MASK : MBC_BLK_SZ_MASK)) - #define CARRIER_SZ(C) \ ((C)->chdr & CARRIER_SZ_MASK) |