diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-12 08:53:15 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-12 08:53:15 +0000 |
commit | 8c09664a94ed4e1bf043847b28e4567da845292b (patch) | |
tree | 7681a8998eeec57eaf1457e95c43091b5ff9358f /benchmark/bm_vm3_clearmethodcache.rb | |
parent | 483efa1fda9b3701ca72842d28bd8b17a36a8ccd (diff) | |
download | ruby-8c09664a94ed4e1bf043847b28e4567da845292b.tar.gz |
* vm_method.c (rb_clear_cache*): update only vm state version.
* vm_method.c (rb_method_entry_get_without_cache, rb_method_entry):
Fill method cache entry with vm state version, and
check current vm state version for method (cache) look up.
This modification speed-up invaridating of global method cache table.
[Ruby 1.9 - Feature #3905] [ruby-core:36908]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/bm_vm3_clearmethodcache.rb')
0 files changed, 0 insertions, 0 deletions