VisualVM
  1. VisualVM
  2. VISUALVM-487

I want the tracing function for certain application (by type) can be started automatically!

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: code, plugins
    • Labels:
      None
    • Environment:

      Windows XP, JDK1.6

      Description

      In my project, multiple Java application will be started automatically. I want to profile and monitor them by VisualVM. However, click each Application node to start monitoring function by hand is time-consuming since the project will be launched repeatedly. What make things worse is that some application would be terminated due to exceptions like Memory Overflow before I click its node.

      So I wonder if it is possible to support auto-start-monitoring function for certain types of applications? Give users some GUI to define the application type list (e.g. by registering the main class). And then VisualVM will automatically open the monitor overview or tracer plugin to gather the data as soon as it has been found.

      In fact, I already made my own VisualVM plugin to solve this problem. But I have to make some change to the "Tracer-Framework" plugin to support new methods to fetch the TracerView Object.

      I do not think this solution is beautiful. So I wonder if VisualVM project could provide official solution to my requirement?

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            thurka
            Reporter:
            cnkmym
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 1 week
              1w
              Remaining:
              Remaining Estimate - 1 week
              1w
              Logged:
              Time Spent - Not Specified
              Not Specified