aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-08-24 13:21:20 +0200
committerLukas Larsson <[email protected]>2016-08-24 13:21:20 +0200
commitba12a91c70729048e5496a66587e56e17b6ad3f8 (patch)
tree287f02968b529da0f47b8cc23564a85fe2df22f8
parentca4ad75e8f2058d965465d612ee1b5dcd364200e (diff)
downloadotp-ba12a91c70729048e5496a66587e56e17b6ad3f8.tar.gz
otp-ba12a91c70729048e5496a66587e56e17b6ad3f8.tar.bz2
otp-ba12a91c70729048e5496a66587e56e17b6ad3f8.zip
erts: Immed tracer states also have to be alignable
-rw-r--r--erts/emulator/beam/erl_trace.c2
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 {