Method caches are hard references, could keep methods and their associated 
modules/classes alive
------------------------------------------------------------------------------------------------

                 Key: JRUBY-3087
                 URL: http://jira.codehaus.org/browse/JRUBY-3087
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
            Reporter: Charles Oliver Nutter
             Fix For: JRuby 1.1.6


In 1.1.5 we moved method caching to a passive flushing system. All our method 
caches also contain hard references to method objects. This means that a cache 
site could hold a method indefinitely after it has been replaced if the cache 
site is never activated again. We need to analyze the likelihood of this 
happening, determine the potential impact, and consider using weak references 
for all method caches.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to