latest_gc_info(result_hash = {}) -> Hash[permalink][rdoc]latest_gc_info(key) -> object最新のGCの情報を返します。
例
latest = GC.latest_gc_info
latest # => {:major_by=>nil, :gc_by=>:newobj, :have_finalizer=>false, :immediate_sweep=>false, :state=>:sweeping}
stat = GC.stat
merged = GC.latest_gc_info(stat)
merged == latest.merge(stat) # => true
GC.latest_gc_info(:gc_by)    # => :newobj