--profile.graph sometimes shows wrong methods
---------------------------------------------

                 Key: JRUBY-5356
                 URL: http://jira.codehaus.org/browse/JRUBY-5356
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.6RC1
            Reporter: John Firebaugh
            Assignee: Thomas E Enebo


For example, the output of `ruby --profile.graph -rubygems -e'require 
"bundler"'`

https://gist.github.com/779066

Note the entries for 'Date.new!' and 'Gem.searcher', and the definition of 
Gem.searcher:

{code}
  def self.searcher
    MUTEX.synchronize do
      @searcher ||= Gem::GemPathSearcher.new
    end
  end
{code}

It seems clear that where 'Date.new!' appears in the profile output, it should 
actually be 'Gem::GemPathSearcher.new'.

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