diff options
author | Sverker Eriksson <sverker@erlang.org> | 2012-11-08 21:30:32 +0100 |
---|---|---|
committer | Sverker Eriksson <sverker@erlang.org> | 2012-11-15 14:20:37 +0100 |
commit | 0b18830887c6925a45a74eef97ee6e4c81e4f94d (patch) | |
tree | 188f2df0d99456fff5c7c79e7a6324706416cf97 /erts/emulator/test/alloc_SUITE_data | |
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/test/alloc_SUITE_data')
-rw-r--r-- | erts/emulator/test/alloc_SUITE_data/allocator_test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/test/alloc_SUITE_data/allocator_test.h b/erts/emulator/test/alloc_SUITE_data/allocator_test.h index cd4a91d34a..463d5b08ab 100644 --- a/erts/emulator/test/alloc_SUITE_data/allocator_test.h +++ b/erts/emulator/test/alloc_SUITE_data/allocator_test.h @@ -73,7 +73,7 @@ typedef void* erts_cond; #define MIN_BLK_SZ(A) ((Ulong) ALC_TEST1(0x017, (A))) #define NXT_BLK(B) ((Block_t *) ALC_TEST1(0x018, (B))) #define PREV_BLK(B) ((Block_t *) ALC_TEST1(0x019, (B))) -#define IS_FIRST_BLK(B) ((Ulong) ALC_TEST1(0x01a, (B))) +#define IS_MBC_FIRST_BLK(A,B) ((Ulong) ALC_TEST2(0x01a, (A), (B))) #define UNIT_SZ ((Ulong) ALC_TEST0(0x01b)) /* From erl_goodfit_alloc.c */ |