From shreyanshgang at iitj.ac.in Mon Sep 2 02:58:51 2013 From: shreyanshgang at iitj.ac.in (Shreyansh Gang) Date: Mon, 2 Sep 2013 15:28:51 +0530 Subject: Information about Porting of OpenJDK and HotSpot VM Message-ID: Hello, I am working on porting of OpenJDK and HotSpot for a particular processor. I searched but didn't got any satisfactory results. I was hoping if you can help me, i just want to know that for porting OpenJDk how much modification will be needed and same for HotSpot. I am not getting any conclusion on this, even if you give me a little bit guidance/hints regarding modification required to be carried out in which portion of HotSpot etc. Thank You -- --Regards Shreyansh Gang Project Associate *Indian Institute of Technology, Jodhpur* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/haiku-port-dev/attachments/20130902/0c6db660/attachment.html From hamishm53 at gmail.com Fri Sep 6 14:24:04 2013 From: hamishm53 at gmail.com (Hamish Morrison) Date: Fri, 06 Sep 2013 22:24:04 +0100 Subject: Information about Porting of OpenJDK and HotSpot VM In-Reply-To: References: Message-ID: <522A47F4.1070101@gmail.com> On 02/09/2013 10:58, Shreyansh Gang wrote: > Hello, > I am working on porting of OpenJDK and HotSpot for a particular processor. > I searched but didn't got any satisfactory results. > I was hoping if you can help me, i just want to know that for porting > OpenJDk how much modification will be needed and same for HotSpot. > I am not getting any conclusion on this, even if you give me a little > bit guidance/hints regarding modification required to be carried out in > which portion of HotSpot etc. Hi Shreyansh, I'm afraid I can't provide much help for a port to a different architecture - the Haiku port didn't involve much architecture-specific changes. I expect you won't have to make many changes (if any) to the JDK libraries. Most of the work will be in porting Hotspot. The architecture-specific code is mostly in hotspot/src/cpu, with some code in hotspot/src/os_cpu. For some pointers, you might want to look over the CPU code for an existing port like x86 or ARM: http://hg.openjdk.java.net/aarch64-port/jdk8/hotspot/file/49648b3f8a17/src/cpu/x86/vm/ http://hg.openjdk.java.net/aarch64-port/jdk8/hotspot/file/49648b3f8a17/src/cpu/aarch64/vm/ You may also have more success asking on the porters-dev mailing list here: http://mail.openjdk.java.net/pipermail/porters-dev/ Best regards, Hamish From dalibor.topic at oracle.com Tue Sep 10 03:34:04 2013 From: dalibor.topic at oracle.com (Dalibor Topic) Date: Tue, 10 Sep 2013 12:34:04 +0200 Subject: Information about Porting of OpenJDK and HotSpot VM In-Reply-To: <522A47F4.1070101@gmail.com> References: <522A47F4.1070101@gmail.com> Message-ID: <522EF59C.8090206@oracle.com> On 9/6/13 11:24 PM, Hamish Morrison wrote: > On 02/09/2013 10:58, Shreyansh Gang wrote: >> Hello, >> I am working on porting of OpenJDK and HotSpot for a particular processor. >> I searched but didn't got any satisfactory results. >> I was hoping if you can help me, i just want to know that for porting >> OpenJDk how much modification will be needed and same for HotSpot. >> I am not getting any conclusion on this, even if you give me a little >> bit guidance/hints regarding modification required to be carried out in >> which portion of HotSpot etc. > > Hi Shreyansh, > > I'm afraid I can't provide much help for a port to a different > architecture - the Haiku port didn't involve much architecture-specific > changes. > > I expect you won't have to make many changes (if any) to the JDK > libraries. Most of the work will be in porting Hotspot. The > architecture-specific code is mostly in hotspot/src/cpu, with some code > in hotspot/src/os_cpu. For some pointers, you might want to look over > the CPU code for an existing port like x86 or ARM: > > http://hg.openjdk.java.net/aarch64-port/jdk8/hotspot/file/49648b3f8a17/src/cpu/x86/vm/ > http://hg.openjdk.java.net/aarch64-port/jdk8/hotspot/file/49648b3f8a17/src/cpu/aarch64/vm/ > > You may also have more success asking on the porters-dev mailing list here: > http://mail.openjdk.java.net/pipermail/porters-dev/ The PowerPC/AIX Porting Project and the AArch 64 Porting Project are good resources, as well. A video of last year's JavaOne talk on the PowerPC port's progress is available here: https://www.youtube.com/watch?v=rwt4GIiLeVo cheers, dalibor topic -- Oracle Dalibor Topic | Principal Product Manager Phone: +494089091214 | Mobile: +491737185961 Oracle Java Platform Group ORACLE Deutschland B.V. & Co. KG | K?hneh?fe 5 | 22761 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRA 95603 Gesch?ftsf?hrer: J?rgen Kunz Komplement?rin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Gesch?ftsf?hrer: Alexander van der Ven, Astrid Kepper, Val Maher Green Oracle Oracle is committed to developing practices and products that help protect the environment