4 Replies Latest reply on Mar 30, 2011 2:48 PM by keith_chapman

    Running a JVM on the SCC

    vinayakb

      Hi,

       

      Has anyone managed to successfully run the Hotspot JVM on the SCC? What would be the best way to get started on this?

       

      Thanks,

      Vinayak

        • 1. Re: Running a JVM on the SCC
          keith_chapman

          I did run hotspot without any issues. I simply downloaded the i586 version and ran it.

          1 of 1 people found this helpful
          • 2. Re: Running a JVM on the SCC
            vinayakb

            Thanks for the reply. It turns out that the 32bit HotspotVM for JRE 1.5 works on the SCC. However, the JDK 6 32 bit VM (VM claiming for the i586) does not run successfully.

             

            From the failure, it appears that the VM code has some instructions that are incompatible with the SCC. Even using the -d32 (use 32 bit datamodel) flag does not seem to help.

             

            It looks like the failure happens when the VM executes the cmov instruction that was not present in the Pentium instruction set.

             

            Any ideas on how to run JDK 1.6? Below is the output of the "file" command and the exact error.

             

            Thanks,

            Vinayak

             

             

            > file java

            java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped

             

            #

            # A fatal error has been detected by the Java Runtime Environment:

            #

            #  Internal Error (assembler_x86.cpp:1042), pid=347, tid=16386

            #  guarantee(VM_Version::supports_cmov()) failed: illegal instruction

            #

            # JRE version: 6.0_24-b07

            # Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode, sharing linux-x86 )

            # An error report file with more information is saved as:

            # /shared/user1/tools/jdk1.6.0_24/hs_err_pid347.log

            #

            # If you would like to submit a bug report, please visit:

            #   http://java.sun.com/webapps/bugreport/crash.jsp

            #

            Killed

            • 3. Re: Running a JVM on the SCC
              vinayakb

              Problem solved. The first 32-bit release of Sun's JDK 6 is compiled for the Pentium processor. Used that and everything works.

               

               

              Thanks.

              • 4. Re: Running a JVM on the SCC
                keith_chapman

                I ran the dacapo benchmark on jdk1.6.0_22 without any issue.