This repository has been archived by the owner on Nov 1, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This isn't a comprehensive fix, but it'll do in the interim.
This reverts commit 2d9a08f.
This is the beginning of a basic gc profiler that has less overhead and memory footprint than GC::Profiler. More to come.
Thanks @josephruscio for the feedback.
because otherwise the ruby_core_source gem doesn't work
Everything is now under RubyVM::MethodCache: - RubyVM::MethodCache.invalidations - RubyVM::MethodCache.hits - RubyVM::MethodCache.misses - RubyVM::MethodCache.miss_time (milliseconds)
Set RubyVM::MethodCache.invalidation_log to something that responds to
…class hierarchy to expire the method cache from Object
…its subclasses are unreachable now anyway
Conflicts: common.mk
…k-method-cache-patches Conflicts: gc.c version.h
haileys
pushed a commit
that referenced
this pull request
Jul 13, 2013
James Golick method cache patches
💥 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request merges in the @jamesgolick hierarchical method cache patches.
I've fixed a bug in
rb_const_set
andrb_const_remove
where these functions failed to invalidate the global state version (which is what constant lookups are cached against)