Search
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby
All Projects
Ruby
Overview
Activity
Roadmap
Issues
Repository
Like
«
Previous
|
Next
»
Revision d7009f76
Added by
tmm1 (Aman Karmani)
over 11 years
ago
ID
d7009f76ef8a7b96e73471561cf9c4863902e438
Parent
6de07f1f
Child
78cfcbc6
gc.c: Expose details about last garbage collection via GC.stat.
gc.c (gc_stat): Add :last_collection_flags for reason/trigger/type of
last GC run.
gc.c (gc_prof_sweep_timer_stop): Record HAVE_FINALIZE GPR even
without GC_PROFILE_MORE_DETAIL.
gc.c (gc_profile_flags): Add GC::Profiler.decode_flags to make sense
of GC.stat[:last_collection_flags]
test/ruby/test_gc.rb (class TestGc): Test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Loading...
last GC run.
without GC_PROFILE_MORE_DETAIL.
of GC.stat[:last_collection_flags]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e