aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_alloc.c
diff options
context:
space:
mode:
authorRick Reed <[email protected]>2013-02-13 08:49:20 -0800
committerAnthony Ramine <[email protected]>2014-03-09 11:10:25 +0100
commit5d5f9c1857029d7e8e1de141e29d20dd3de929be (patch)
tree30d9b00b4e6762f9c5f3e66a0df4e40610326f74 /erts/emulator/beam/erl_alloc.c
parent345af4a0c8d68b9369c3556fa6d911854c123d3f (diff)
downloadotp-5d5f9c1857029d7e8e1de141e29d20dd3de929be.tar.gz
otp-5d5f9c1857029d7e8e1de141e29d20dd3de929be.tar.bz2
otp-5d5f9c1857029d7e8e1de141e29d20dd3de929be.zip
Add thread index to allocator enomem dump slogan
Diffstat (limited to 'erts/emulator/beam/erl_alloc.c')
-rw-r--r--erts/emulator/beam/erl_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c
index 05ac24e04d..90cd227fae 100644
--- a/erts/emulator/beam/erl_alloc.c
+++ b/erts/emulator/beam/erl_alloc.c
@@ -1873,8 +1873,8 @@ erts_alc_fatal_error(int error, int func, ErtsAlcType_t n, ...)
size = va_arg(argp, Uint);
va_end(argp);
erl_exit(1,
- "%s: Cannot %s %lu bytes of memory (of type \"%s\").\n",
- allctr_str, op, size, t_str);
+ "%s: Cannot %s %lu bytes of memory (of type \"%s\", thread %d).\n",
+ allctr_str, op, size, t_str, ERTS_ALC_GET_THR_IX());
break;
}
case ERTS_ALC_E_NOALLCTR: