Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4129191

HPROF: need trace design that takes into account recursion, or exact traces

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description

      java -prof causes the wrong time to be collected for recursive methods.

      Example:

      calls: x -> a -> a -> a -> a

      each time a is called it uses t milliseconds The time -prof records for
      the call from a to a is (1 + 2 + 3)t, not 3t. The time -prof records for
      the call from x to a is (1 + 2 + 3 + 4)t, not 4t.

        Attachments

          Activity

            People

            • Assignee:
              ohair Kelly Ohair (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: