aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-05-11 15:03:42 +0200
committerLukas Larsson <[email protected]>2016-05-11 15:03:42 +0200
commitcedf53ed9d29e7a7cf8ebaf77dea971a025205e1 (patch)
tree08a5a2e5564ff6353f1ea90399c03e20943c3fe2 /erts
parent629163f45f4595e2054e1c6bb5595faf4e3f7d0a (diff)
downloadotp-cedf53ed9d29e7a7cf8ebaf77dea971a025205e1.tar.gz
otp-cedf53ed9d29e7a7cf8ebaf77dea971a025205e1.tar.bz2
otp-cedf53ed9d29e7a7cf8ebaf77dea971a025205e1.zip
erts: Fix non-smp max_heap_size assert
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_gc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/erts/emulator/beam/erl_gc.c b/erts/emulator/beam/erl_gc.c
index fa0782867d..bd238d0f45 100644
--- a/erts/emulator/beam/erl_gc.c
+++ b/erts/emulator/beam/erl_gc.c
@@ -664,8 +664,6 @@ do_major_collection:
ErtsGcQuickSanityCheck(p);
- erts_smp_atomic32_read_band_nob(&p->state, ~ERTS_PSFLG_GC);
-
/* Max heap size has been reached and the process was configured
to be killed, so we kill it and set it in a delayed garbage
collecting state. There should be no gc_end trace or
@@ -3176,8 +3174,8 @@ reached_max_heap_size(Process *p, Uint total_heap_size,
if (alive)
erts_dsprintf(dsbufp, "on node ~p");
erts_dsprintf(dsbufp, "~n Context: maximum heap size reached~n");
- erts_dsprintf(dsbufp, " Max heap size: ~p~n");
- erts_dsprintf(dsbufp, " Total heap size: ~p~n");
+ erts_dsprintf(dsbufp, " Max Heap Size: ~p~n");
+ erts_dsprintf(dsbufp, " Total Heap Size: ~p~n");
erts_dsprintf(dsbufp, " Kill: ~p~n");
erts_dsprintf(dsbufp, " Error Logger: ~p~n");
erts_dsprintf(dsbufp, " GC Info: ~p~n");