aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2015-11-16 14:57:12 +0100
committerLukas Larsson <[email protected]>2015-11-16 15:45:06 +0100
commit9d0a5bf2c1cc564fd38268cbb5313cd8813ea138 (patch)
tree021538f095dcde9fb51ce20e819fdc4a03a2c8d2 /erts/preloaded
parent263d1e6bb37cb09f0d09039da625f14db656f552 (diff)
downloadotp-9d0a5bf2c1cc564fd38268cbb5313cd8813ea138.tar.gz
otp-9d0a5bf2c1cc564fd38268cbb5313cd8813ea138.tar.bz2
otp-9d0a5bf2c1cc564fd38268cbb5313cd8813ea138.zip
erts: Add garbage_collection_info to process_info/2
This info request returns greater details about the current gc state. This info is not included in the default process_info/1 as it would clutter the default printout with too much information.
Diffstat (limited to 'erts/preloaded')
-rw-r--r--erts/preloaded/src/erlang.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl
index 6a9ec9c915..cb607a7730 100644
--- a/erts/preloaded/src/erlang.erl
+++ b/erts/preloaded/src/erlang.erl
@@ -2074,6 +2074,7 @@ process_flag(_Flag, _Value) ->
dictionary |
error_handler |
garbage_collection |
+ garbage_collection_info |
group_leader |
heap_size |
initial_call |
@@ -2114,6 +2115,7 @@ process_flag(_Flag, _Value) ->
{dictionary, Dictionary :: [{Key :: term(), Value :: term()}]} |
{error_handler, Module :: module()} |
{garbage_collection, GCInfo :: [{atom(),non_neg_integer()}]} |
+ {garbage_collection_info, GCInfo :: [{atom(),non_neg_integer()}]} |
{group_leader, GroupLeader :: pid()} |
{heap_size, Size :: non_neg_integer()} |
{initial_call, mfa()} |