# File lib/new_relic/agent/vm/rubinius_vm.rb, line 66 def gather_stats_from_gc_stat(snap) gc_stats = GC.stat[:gc] if gc_stats snap.major_gc_count = gc_stats[:full][:count] if gc_stats[:full] snap.minor_gc_count = gc_stats[:young][:count] if gc_stats[:young] end end