-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
5.0
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
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