aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process_dump.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-03-29 14:54:24 +0200
committerRickard Green <[email protected]>2016-03-29 14:54:24 +0200
commit96a0a707c6a7ba7ce9d6668705ca10c66666a8c3 (patch)
tree9f55aa77dae8b5875358fab76338dc3ec3c6cbba /erts/emulator/beam/erl_process_dump.c
parent60479cec6169d3d3495f5e8e6cadee30d22a4d60 (diff)
parentab884c3fdda00479d636de82d68ffbd8628c5c20 (diff)
downloadotp-96a0a707c6a7ba7ce9d6668705ca10c66666a8c3.tar.gz
otp-96a0a707c6a7ba7ce9d6668705ca10c66666a8c3.tar.bz2
otp-96a0a707c6a7ba7ce9d6668705ca10c66666a8c3.zip
Merge branch 'rickard/improve-psd/OTP-13428'
* rickard/improve-psd/OTP-13428: 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);