From kanwaljamal at hotmail.com Mon Oct 27 22:41:42 2008 From: kanwaljamal at hotmail.com (Kauser Jamal) Date: Tue, 28 Oct 2008 05:41:42 +0000 Subject: Java HotSpot on mips64 Message-ID: Hello, I want to port the OpenJDK including especially the HotSpot compiler (and not interpreted mode) on a mips64 server machine. It is a 16-core Cavium Octeon server, running the Debian Linux OS. I have succesfully compiled the OpenJDK source code on an Intel-based machine, for which binary plug-in is required and is available (jdk-7-ea-plug-b38-linux-i586-23_oct_2008.jar) for that specific architecture on the java.net site. For the mips64 architecture, I want to do the same. However, its binary plug-in is not available on the java.net site under the 'OpenJDK source releases. Where can I find it? Is there any other way to port the Sun HotSpot Java on the mips machine? Thank you, Kauser _________________________________________________________________ You live life beyond your PC. So now Windows goes beyond your PC. http://clk.atdmt.com/MRT/go/115298556/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/mips-port/attachments/20081028/e2a2ab7f/attachment.html From springer at reservoir.com Tue Oct 28 10:39:34 2008 From: springer at reservoir.com (Jonathan Springer) Date: Tue, 28 Oct 2008 12:39:34 -0500 Subject: Java HotSpot on mips64 In-Reply-To: References: Message-ID: <49074E56.5090209@reservoir.com> Hi, Kauser Jamal wrote: > I want to port the OpenJDK including especially the HotSpot compiler > (and not interpreted mode) on a mips64 server machine. It is a 16-core > Cavium Octeon server, running the Debian Linux OS. > I have succesfully compiled the OpenJDK source code on an Intel-based > machine, for which binary plug-in is required and is available > (_jdk-7-ea-plug-b38-linux-i586-23_oct_2008.jar_ > ) for > that specific architecture on the java.net site. > For the mips64 architecture, I want to do the same. However, its binary > plug-in is not available on the java.net site under the 'OpenJDK source > releases. Where can I find it? Is there any other way to port the Sun > HotSpot Java on the mips machine? There are no binary plugs for MIPS currently. Here are a couple options: -- Hack out the dependencies. As of b38, only jmx.snmp and jsound are affected, so for your purposes you might be able to get along without them. -- Use the IcedTea workarounds [http://icedtea.classpath.org/]. IcedTea is based on OpenJDK 6 now, so there might be some adaptation needed. Alternately, if you have no particular reason to favor JDK7 over JDK6, you could just switch to OpenJDK 6. Which is best probably depends on your goal in doing the port. What is your objective in getting it working? Beyond the matter of the binary plug, you mention that you want a non-interpreter port. This will require substantial development. I did a MIPS port, but it is interpreter-only so far. Another route is IcedTea, which has a project called Shark that is integrating LLVM as a compiler for OpenJDK. It's still in progress, but a bigger issue is that there is no MIPS version of LLVM (last I heard, probably a year ago). Please do let us know how it goes if you pursue a port to the Octeon! -Jonathan -- Jonathan Springer | Reservoir Labs, Inc. | http://www.reservoir.com/ From kanwaljamal at hotmail.com Thu Oct 30 19:32:39 2008 From: kanwaljamal at hotmail.com (Kauser Jamal) Date: Fri, 31 Oct 2008 02:32:39 +0000 Subject: Java HotSpot on mips64 In-Reply-To: <49074E56.5090209@reservoir.com> References: <49074E56.5090209@reservoir.com> Message-ID: Hi, Jonathan wrote:> There are no binary plugs for MIPS currently. Here are a couple> options:> > -- Hack out the dependencies. As of b38, only jmx.snmp and jsound are> affected, so for your purposes you might be able to get along> without them.> > -- Use the IcedTea workarounds [http://icedtea.classpath.org/].> IcedTea is based on OpenJDK 6 now, so there might be some> adaptation needed. Alternately, if you have no particular reason> to favor JDK7 over JDK6, you could just switch to OpenJDK 6.> > Which is best probably depends on your goal in doing the port. What> is your objective in getting it working?> > Beyond the matter of the binary plug, you mention that you want a> non-interpreter port. This will require substantial development. I> did a MIPS port, but it is interpreter-only so far. Another route is> IcedTea, which has a project called Shark that is integrating LLVM as> a compiler for OpenJDK. It's still in progress, but a bigger issue is> that there is no MIPS version of LLVM (last I heard, probably a year> ago).> > Please do let us know how it goes if you pursue a port to the Octeon! Thanks a lot for the quick and useful reply, Jonathan. I am developing benchmarks in Java for the measurement of memory, CPU and network throughput. That is why I need a good performing JVM, which therefore must include the HotSpot engine. The packages available on Debian (using aptitude) only provide the interpreter of the JVM for the mips architecture (as far as I have tried). Therefore, I decided to build the JVM from source code. I have started work on building the IcedTea on the mips system. Let's see how it goes. I will inform everyone here about the outcome. Kauser _________________________________________________________________ Stay organized with simple drag and drop from Windows Live Hotmail. http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/mips-port/attachments/20081031/e93291f2/attachment.html