aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process_dump.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-03-24 16:20:51 +0100
committerRickard Green <[email protected]>2016-03-24 17:33:15 +0100
commitab884c3fdda00479d636de82d68ffbd8628c5c20 (patch)
tree168f9c7ed67c21e537f31dbc0510c6cf88b872b2 /erts/emulator/beam/erl_process_dump.c
parent9615753e42d55b3bad042791a1b36b0ef7f0090a (diff)
downloadotp-ab884c3fdda00479d636de82d68ffbd8628c5c20.tar.gz
otp-ab884c3fdda00479d636de82d68ffbd8628c5c20.tar.bz2
otp-ab884c3fdda00479d636de82d68ffbd8628c5c20.zip
Improve process/port specific data management
Diffstat (limited to 'erts/emulator/beam/erl_process_dump.c')
-rw-r--r--erts/emulator/beam/erl_process_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process_dump.c b/erts/emulator/beam/erl_process_dump.c
index 39c36ee7a9..73552b28de 100644
--- a/erts/emulator/beam/erl_process_dump.c
+++ b/erts/emulator/beam/erl_process_dump.c
@@ -103,7 +103,7 @@ Uint erts_process_memory(Process *p, int incl_msg_inq) {
size += p->arity * sizeof(p->arg_reg[0]);
}
- if (p->psd)
+ if (erts_smp_atomic_read_nob(&p->psd) != (erts_aint_t) NULL)
size += sizeof(ErtsPSD);
scb = ERTS_PROC_GET_SAVED_CALLS_BUF(p);