diff options
| author | Diana Corbacho <diana.corbacho@erlang-solutions.com> | 2016-07-07 15:37:15 +0100 |
|---|---|---|
| committer | Diana Corbacho <diana.corbacho@erlang-solutions.com> | 2016-07-07 15:37:15 +0100 |
| commit | 41dd04a2d1a83a50099ee1072ad0fd61a97281a4 (patch) | |
| tree | daacef23411d2427c34e03577a74dc1407fe3bfc | |
| parent | 6c135d9ff3adcaf6118eb0bf749e36317b666e42 (diff) | |
| download | rabbitmq-server-git-41dd04a2d1a83a50099ee1072ad0fd61a97281a4.tar.gz | |
Use rabbit_misc to parse GC stats, supporting maps in R19
| -rw-r--r-- | src/rabbit_amqqueue_process.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl index 70b894428e..66df42987c 100644 --- a/src/rabbit_amqqueue_process.erl +++ b/src/rabbit_amqqueue_process.erl @@ -925,8 +925,7 @@ i(recoverable_slaves, #q{q = #amqqueue{name = Name, i(state, #q{status = running}) -> credit_flow:state(); i(state, #q{status = State}) -> State; i(garbage_collection, _State) -> - {garbage_collection, GC} = erlang:process_info(self(), garbage_collection), - GC; + rabbit_misc:get_gc_info(self()); i(reductions, _State) -> {reductions, Reductions} = erlang:process_info(self(), reductions), Reductions; |
