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

HPROF: Allow for some Java level control over hprof profiling

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      1.5
    • Introduced In Version:
      5.0
    • CPU:
      generic
    • OS:
      generic

      Description

      The new hprof in 1.5 uses BCI and Java methods to do profiling, those
      java methods could include some kind of controlling interface so that
      someone could sun.tools.hprof.Tracker.disable() or sun.tools.hprof.Tracker.enable()
      the instrumentation inside the Java application itself.

      You could in main disable it, then enable it and disable it around the
      code of interest.

      The hprof data structure may not like this dynamic nature of this, so some
      adjustments to the hprof code itself will likely be necessary.
      ###@###.### 10/4/04 18:45 GMT

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: