lib/ruby/1.8/profiler is not thread-safe
----------------------------------------

                 Key: JRUBY-2133
                 URL: http://jira.codehaus.org/browse/JRUBY-2133
             Project: JRuby
          Issue Type: Bug
            Reporter: Thomas E Enebo
            Assignee: Thomas E Enebo


Profiler modifies class vars and multiple threads do this at the same time.   
We saw an issue trying to profile mongrel where multiple threads were trashing 
profilers stacks.

One solution is to have each thread keep track of its own profiling info and 
then combine all the information together to create the full report.


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