4 Replies Latest reply on Jan 9, 2008 8:35 AM by pmuir

    Best JVM for hotswapping?

    nickarls

      Inspired by the hot-deployment features of seam with JBoss Tools I tried playing around with hotswapping in eclipse debug mode but quickly run into "Obsolete methods on stack"-problems.

      I'm currently using the Sun 1.6.0 JVM implementation, is there one better suited for hotswapping or is this a result of seam bytecode manipulation, proxying, sunspots or something else?

        • 1. Re: Best JVM for hotswapping?
          nickarls

          or is this a question for some AS forum?

          • 2. Re: Best JVM for hotswapping?
            pmuir

            This is actually an eclipse feature iirc, so maybe best to ask on an eclipse forum ;)

            I use the hotswapping in eclipse a lot - sometimes it works, sometimes it doesn't - often it works even when it says it probably won't ;)

            • 3. Re: Best JVM for hotswapping?
              nickarls

               

              "pete.muir@jboss.org" wrote:
              This is actually an eclipse feature iirc, so maybe best to ask on an eclipse forum ;)

              I use the hotswapping in eclipse a lot - sometimes it works, sometimes it doesn't - often it works even when it says it probably won't ;)


              And you use the Sun JVM? Any VM parameters? I tried changing "Hello World" to "Hello World!" in debug mode and got a total freeze when i continued despite of the warning...

              • 4. Re: Best JVM for hotswapping?
                pmuir

                Well, the Mac JVM (but thats basically the Sun JVM for these purposes). No VM parameters. Certainly it doesn't freeze for me, I just don't get code updated.