Frame in ThreadContext's frameStack holds reference to unreachable RubyObject
-----------------------------------------------------------------------------

                 Key: JRUBY-2712
                 URL: http://jira.codehaus.org/browse/JRUBY-2712
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1.3
         Environment: Mac OS X 10.5.3; J2SE 5.0
            Reporter: Micah Alles
         Attachments: 
test_thread_context_frame_dereferences_unreachable_variables.rb

In some cases references to unreachable local variables in methods are not 
collected due to a Frame object in the jruby runtime which is referencing it 
via its {{self}} instance variable.  The cause of the leak was observed by 
inspecting a memory snapshot of the jruby process which was taken after pausing 
execution before the assertion in the included unit test with a call to 
{{sleep}}.  

The included test fails on trunk (r7037) and passes against the 1.1.2 branch.

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