2 Replies Latest reply on Sep 12, 2008 12:16 PM by peterj

    VisualVM

    peterj

      Just a word of warning. I was playing around with VisualVM. I connected it to a running instance of JBossAS 5.0.0.CR1 that was not doing anything. Suddenly, the app server became active. The CPU usage was still relatively low, but every 20 seconds I was getting a garbage collection.

      Apparently, just connecting VisualVM to a Java app causes objects and garbage to be created.

      I checked JConsole and it does not exhibit this behavior.

      This behavior makes VisualVM a poor choice for monitor Java applications in production.

      By the way, I was using the VisualVM from JDK 6u7, and I ran AS 5.0.0.CR1 on the same version.

        • 1. Re: VisualVM

          I can see that recentely was released a new version of VisualVM (1.0.1). Can it be that this bug was fixed ?
          This tool looks like it will replace JConsole in the future...I do hope that's a bug that will be soon fixed.

          • 2. Re: VisualVM
            peterj

            Well, I could play with the 1.0.1 version and check it out, but you could have done the same and reported on your findings.