Ruby exceptions could defer constructing backtrace information if they held a 
chain of frames representing the stack at that moment
-----------------------------------------------------------------------------------------------------------------------------------

                 Key: JRUBY-967
                 URL: http://jira.codehaus.org/browse/JRUBY-967
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.0.0RC2
            Reporter: Charles Oliver Nutter
            Assignee: Thomas E Enebo


It could be a reasonable optimization to defer generating the backtrace for a 
given ruby exception by just holding a reference to a linked list of frames 
that represents the call stack at that point. Unfortunately, there's currently 
no way to chain frames together into a "spaghetti stack" of frames without some 
new structure, since frame objects are re-entrant (when yielding to a block, 
for example). Examine a way to make a linked list of lightweight frame 
information that could be used to defer backtrace generation.

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