ObjectProxyCache is not as effective with weakrefs, but eats too much memory 
with softrefs
------------------------------------------------------------------------------------------

                 Key: JRUBY-1962
                 URL: http://jira.codehaus.org/browse/JRUBY-1962
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
            Reporter: Charles Oliver Nutter
            Assignee: Bill Dortch
             Fix For: JRuby 1.1


We had to switch the ObjectProxyCache from using weakrefs to softrefs, because 
softrefs weren't soft enough and the cache ended up eating too much memory. But 
weakrefs are likely to cause cache entries to be collected before they're ever 
used, so the new cache isn't helping much.

We need a solution somewhere in the middle so the cache is useful but doesn't 
bloat to an unreasonable size.

-- 
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