From: Akira Tanaka Date: 2011-05-17T23:17:05+09:00 Subject: [ruby-core:36269] [Ruby 1.9 - Feature #3905][Open] rb_clear_cache_by_class() called often during GC for non-blocking I/O Issue #3905 has been updated by Akira Tanaka. Status changed from Closed to Open Sorry for late reply. I'd like to incorporate 0001-error.c-rb_mod_sys_fail-use-subclass-and-cache.patch. Although I'm not sure how to view the ephemeral class patches (I don't know git well), I guess it is too intrusive. ---------------------------------------- Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O http://redmine.ruby-lang.org/issues/3905 Author: Eric Wong Status: Open Priority: Low Assignee: Category: core Target version: 1.9.x =begin This still causes performance problems with frequent EAGAIN compared to 1.9.1 While akr fixed extend to no longer clear cache with empty modules in r28813, the GC phase still scans and clears the cache when the extended object is collected. ref: [ruby-core:32507], [ruby-core:32508] A proposed patch to add memoizing of extended objects with IO::Wait{Read,Writ}able is attached. Comments/feedback appreciated. =end -- http://redmine.ruby-lang.org