1 Reply Latest reply on Dec 4, 2002 10:24 AM by Fred

    Compiling under different VMs

    Robert Price Newbie

      We've noticed with our application, that if we run it compiled under IBM's VM, it drastically outperforms the same code compiled under Sun's VM (debug & non-debug).

      So, we're wondering a few things:
      Q: What VM is JBoss compiled under??
      Q: Has anyone successfully compiled the JBoss source using the Ant build scripts with another VM?
      Q: Are there reasons for why JBoss is compiled under a given VM, and are the reasons it shouldn't under other VMs??

      I would assume we'd see the same performance output with JBoss if compiled under IBM's VM, but I've had difficulties doing so using Ant's build scripts (apparently something in IBM's VM isn't compatible with the Ant source base, which was probably compiled under Sun's VM anyway).

      I'm interested in anyone's opinion on the matter....

      TIA!

        • 1. Re: Compiling under different VMs
          Fred Newbie

          JBoss code doesn't like rmic for 1.2.x and 1.3.0 JDKs.

          I've automated compiling and running testsuite from the CVS head of the 3.0 and 3.2 branches. I currently run this test using Sun 1.3.1_06, Sun 1.4.1_01 and IBM 1.3.1 on W2K, but will be expanding to a numer of additional OS and JVM combinations over the next few months and posting the detailed results on a public web site.


          Automated JBoss(JBoss_3_2_0_beta2 WonderLand) Testsuite Results: 4-December-2002
          Number of tests run: 1038

          --------------------------------------------

          Successful tests: 996
          Errors: 38
          Failures: 4

          --------------------------------------------

          [time of test: 2002-12-04.14-56 GMT]
          [java.version: 1.3.1]
          [java.vendor: IBM Corporation]
          [java.vm.version: 1.3.1]
          [java.vm.name: Classic VM]
          [java.vm.info: J2RE 1.3.1 IBM Windows 32 build cn131-20020403 (JIT enabled: jitc)]
          [os.name: Windows 2000]
          [os.arch: x86]
          [os.version: 5.0]


          Automated JBoss(Branch_3_0) Testsuite Results: 3-December-2002
          Number of tests run: 1000

          --------------------------------------------

          Successful tests: 970
          Errors: 28
          Failures: 2

          --------------------------------------------

          [time of test: 2002-12-03.21-43 GMT]
          [java.version: 1.3.1]
          [java.vendor: IBM Corporation]
          [java.vm.version: 1.3.1]
          [java.vm.name: Classic VM]
          [java.vm.info: J2RE 1.3.1 IBM Windows 32 build cn131-20020403 (JIT enabled: jitc)]
          [os.name: Windows 2000]
          [os.arch: x86]
          [os.version: 5.0]