Information about Porting of OpenJDK and HotSpot VM

Dalibor Topic dalibor.topic at oracle.com
Tue Sep 10 03:34:04 PDT 2013


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 <http://www.oracle.com>
Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961 <tel:+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 <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment


More information about the haiku-port-dev mailing list