diff options
author | Lukas Larsson <[email protected]> | 2016-08-24 13:21:20 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-08-24 13:21:20 +0200 |
commit | ba12a91c70729048e5496a66587e56e17b6ad3f8 (patch) | |
tree | 287f02968b529da0f47b8cc23564a85fe2df22f8 /erts | |
parent | ca4ad75e8f2058d965465d612ee1b5dcd364200e (diff) | |
download | otp-ba12a91c70729048e5496a66587e56e17b6ad3f8.tar.gz otp-ba12a91c70729048e5496a66587e56e17b6ad3f8.tar.bz2 otp-ba12a91c70729048e5496a66587e56e17b6ad3f8.zip |
erts: Immed tracer states also have to be alignable
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/erl_trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_trace.c b/erts/emulator/beam/erl_trace.c index c4396488f5..6b07ab87e4 100644 --- a/erts/emulator/beam/erl_trace.c +++ b/erts/emulator/beam/erl_trace.c @@ -3143,7 +3143,7 @@ erts_tracer_update(ErtsTracer *tracer, const ErtsTracer new_tracer) Not sure if it is worth it, we save 4 words (sizeof(ErlHeapFragment)) per tracer. */ Eterm *hp = erts_alloc(ERTS_ALC_T_HEAP_FRAG, - 2*sizeof(Eterm) + sizeof(ErtsThrPrgrLaterOp)); + 3*sizeof(Eterm) + sizeof(ErtsThrPrgrLaterOp)); *tracer = CONS(hp, ERTS_TRACER_MODULE(new_tracer), ERTS_TRACER_STATE(new_tracer)); } else { |