From: "sax (Eric Saxby)" Date: 2013-08-22T02:30:49+09:00 Subject: [ruby-core:56774] [ruby-trunk - Bug #8805] Ruby GC::Profiler returns incorrect info on Solaris (and relatives) Issue #8805 has been updated by sax (Eric Saxby). Hi Akira, I have one question. It looks like this has only been applied to trunk, and not to the ruby_2_0_0 branch. I'm not yet totally familiar with the version control workflow of ruby-core, but does that mean that this will be released in 2.1? Will it also be in the next patch release of 2.0? Thank you! ---------------------------------------- Bug #8805: Ruby GC::Profiler returns incorrect info on Solaris (and relatives) https://bugs.ruby-lang.org/issues/8805#change-41316 Author: sax (Eric Saxby) Status: Open Priority: Normal Assignee: Category: core Target version: ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-solaris2.11] Backport: 1.9.3: DONTNEED, 2.0.0: REQUIRED We use SmartOS as our deployment platform, and noticed when attempting to roll out Ruby 2.0.0-p247 to some SmartOS hosts that garbage collection info is broken with integrations such as New Relic. Investigating further, we found that GC::Profiler.total_time always returns 0.0. >> GC::Profiler.enable => nil >> GC.start => nil >> GC::Profiler.total_time => 0.0 It may be related to this issue: https://bugs.ruby-lang.org/issues/7500 where the mechanism by which the profiler gets timestamps from the OS. -- http://bugs.ruby-lang.org/