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

HPROF: Allow for some Java level control over hprof profiling

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 5.0
    • tools
    • 1.5
    • 5.0
    • generic
    • generic

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: