From: Eric Wong Date: 2011-06-10T18:50:31+09:00 Subject: [ruby-core:36916] Re: [Ruby 1.9 - Feature #3905] rb_clear_cache_by_class() called often during GC for non-blocking I/O Eric Wong wrote: > > For (1), I made an alternative patch: > > http://www.atdot.net/sp/readonly/x8wjml > > Awesome! It gives roughly the same performance as my ephemeral class > patch in my measurement script below and less intrusive. One possible issue is the VM state counter overflowing. Maybe we should empty the method cache on the rare event of a VM state counter overflow to avoid false positives? -- Eric Wong