3 ms·
Confirmed that this only leaks memory if used incorrectly, standard implementations like Newrelic sample this safely, without leaking memory. Here's a link to
by wpeterson 14y ago
Confirmed that this only leaks memory if used incorrectly, standard implementations like Newrelic sample this safely, without leaking memory.
Here's a link to the GC profiling agent code in the Newrelic Agent:
https://github.com/newrelic/rpm/blob/master/lib/new_relic/agent/stats_engine/gc_profiler.rb#L94 https://github.com/newrelic/rpm/blob/master/lib/new_relic/ag...