aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-09-05 17:01:26 +0200
committerLukas Larsson <[email protected]>2016-09-05 17:01:26 +0200
commitd2ad195b2ad0287105667e065f9dbaa15027bc60 (patch)
tree1cd909e930db72a76ba363f7fb286c262df2f94a
parent93369eec652aa136c57fecc52182fb02449d69e6 (diff)
parentba12a91c70729048e5496a66587e56e17b6ad3f8 (diff)
downloadotp-d2ad195b2ad0287105667e065f9dbaa15027bc60.tar.gz
otp-d2ad195b2ad0287105667e065f9dbaa15027bc60.tar.bz2
otp-d2ad195b2ad0287105667e065f9dbaa15027bc60.zip
Merge branch 'lukas/erts/tracing/fix_sparc_align_issue/OTP-13803' into maint
* lukas/erts/tracing/fix_sparc_align_issue/OTP-13803: 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 f4d92564c1..8c84303997 100644
--- a/erts/emulator/beam/erl_trace.c
+++ b/erts/emulator/beam/erl_trace.c
@@ -3157,7 +3157,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 {