From 0b18830887c6925a45a74eef97ee6e4c81e4f94d Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Thu, 8 Nov 2012 21:30:32 +0100 Subject: 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. --- erts/emulator/beam/erl_alloc_util.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'erts/emulator/beam/erl_alloc_util.h') 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) -- cgit v1.2.3