From: Eric Wong Date: 2011-06-11T03:08:48+09:00 Subject: [ruby-core:36947] Re: [Ruby 1.9 - Feature #3905] rb_clear_cache_by_class() called often during GC for non-blocking I/O SASADA Koichi wrote: > (2011/06/10 13:10), Eric Wong wrote: > >> For (2), ephemeral class seems good. > > > > Your patch for (1) improves (2), too. However, I think cache miss > > is already a huge problem because cache-clearing is called during GC. > > My patch reduces "clearing method cache" time. And because of my patch > clears all cache entries, method cache misses should be increase (in > other words, it is not a solution for (2)). Oh, I thought you meant CPU cache misses. Method cache miss shouldn't be a problem at all because the class is GC'ed. > I will solve this problem with other techniques. > > First of all, can I commit my patch? Please do (with workaround for overflow). Thank you! -- Eric Wong