[#47409] [ruby-trunk - Feature #6973][Open] Add an #integral? method to Numeric to test for whole-number values — "regularfry (Alex Young)" <alex@...>

12 messages 2012/09/03

[#47481] [ruby-trunk - Bug #7008][Open] rake is crashing when trying to compile ffi gem — "drookie (Eugene M. Zheganin Eugene M. Zheganin)" <eugene@...>

10 messages 2012/09/12

[#47505] [ruby-trunk - Feature #7019][Open] allow `private` and `protected` keywords to take blocks — "alexeymuranov (Alexey Muranov)" <redmine@...>

15 messages 2012/09/13

[#47582] [ruby-trunk - Bug #7037][Open] float formatting inconsistently rounds half to even — "headius (Charles Nutter)" <headius@...>

14 messages 2012/09/19

[#47638] [ruby-trunk - Bug #7046][Open] ERB#run and ERB#result are not safe for concurrent use — "headius (Charles Nutter)" <headius@...>

11 messages 2012/09/21

[#47655] [ruby-trunk - Feature #7051][Open] Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread. — "sam.saffron (Sam Saffron)" <sam.saffron@...>

13 messages 2012/09/23

[#47657] [ruby-trunk - Feature #7055][Open] Allow `.foo=` as a synonym of `self.foo=` — "alexeymuranov (Alexey Muranov)" <redmine@...>

11 messages 2012/09/23

[#47730] [ruby-trunk - Bug #7085][Open] Subversion → GitHub gateway stops. — "shyouhei (Shyouhei Urabe)" <shyouhei@...>

27 messages 2012/09/29

[#47735] [ruby-trunk - Bug #7087][Open] ::ConditionVariable#wait does not work with Monitor because Monitor#sleep does not exist — "rklemme (Robert Klemme)" <shortcutter@...>

10 messages 2012/09/29

[#47759] [ruby-trunk - Bug #7092][Open] StringScanner start-of-line matches false positives, while lookbehind for a newline gives false negatives — "jayferd (Jay Adkisson)" <jjmadkisson@...>

8 messages 2012/09/30

[ruby-core:47626] Re: [ruby-trunk - Feature #7022] add event hook for garbage collection

From: Charles Oliver Nutter <headius@...>
Date: 2012-09-20 21:25:31 UTC
List: ruby-core #47626
I looked into this on JRuby/JVM last night, and found that they have
recently added a nonstandard API for getting GC notifications as they
happen. And they happen *after* the GC has occurred. They're
informational.

Would be neat to have something standard in Ruby...especially now that
I know we can implement it (on Java 7u4+ anyway).

FWIW, here's a gist I posted last night that implements
GC::Profiler.report entirely in Ruby using the JVM APIs:

https://gist.github.com/3754108

- Charlie

On Fri, Sep 14, 2012 at 9:13 AM, rogerdpack (Roger Pack)
<rogerpack2005@gmail.com> wrote:
>
> Issue #7022 has been updated by rogerdpack (Roger Pack).
>
>
> hmm...correct me if I'm wrong (I'm trying to maintain the ruby-prof gem here) will the dtrace probes in #2565 help me if I'm running profiling in windows?  Actually if a hook were added for "GC DONE" or the like, I could query using the API at that point, which would probably be enough. Feedbacks?
> ----------------------------------------
> Feature #7022: add event hook for garbage collection
> https://bugs.ruby-lang.org/issues/7022#change-29308
>
> Author: rogerdpack (Roger Pack)
> Status: Open
> Priority: Normal
> Assignee:
> Category:
> Target version:
>
>
> It would be useful for profilers to have more insight into garbage collection.  Feature request: add event hooks for garbage collect start/stop.  For the lazy sweep, start and stop events would also be interesting.
> Thanks.
>
>
> --
> http://bugs.ruby-lang.org/
>

In This Thread