diff options
author | Erlang/OTP <[email protected]> | 2010-04-09 12:49:28 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-04-09 12:49:28 +0000 |
commit | e44595eab24f92fe33d1feea44e422bcb7c53824 (patch) | |
tree | 9cd2b237cee7b33e8b457e2e467f989c7fb3bcf2 | |
parent | 824d0fb5ae165a74350ad31f09f83ebc271b7c96 (diff) | |
parent | ac8f094ba44e70d8cce080b639787b33aa895772 (diff) | |
download | otp-e44595eab24f92fe33d1feea44e422bcb7c53824.tar.gz otp-e44595eab24f92fe33d1feea44e422bcb7c53824.tar.bz2 otp-e44595eab24f92fe33d1feea44e422bcb7c53824.zip |
Merge branch 'sk/old_heap-unused' into dev
* sk/old_heap-unused:
system_info(procs): Fix the value for "OldHeap unused"
-rw-r--r-- | erts/emulator/beam/break.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/break.c b/erts/emulator/beam/break.c index d93c031db2..dbe864f941 100644 --- a/erts/emulator/beam/break.c +++ b/erts/emulator/beam/break.c @@ -327,7 +327,7 @@ print_process_info(int to, void *to_arg, Process *p) (unsigned)(OLD_HEND(p) - OLD_HEAP(p)) ); erts_print(to, to_arg, "Heap unused: %bpu\n", (p->hend - p->htop)); erts_print(to, to_arg, "OldHeap unused: %bpu\n", - (OLD_HEAP(p) == NULL) ? 0 : (OLD_HEND(p) - OLD_HEAP(p)) ); + (OLD_HEAP(p) == NULL) ? 0 : (OLD_HEND(p) - OLD_HTOP(p)) ); if (garbing) { print_garb_info(to, to_arg, p); |