Information about Porting of OpenJDK and HotSpot VM

Hamish Morrison hamishm53 at gmail.com
Fri Sep 6 14:24:04 PDT 2013


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


More information about the haiku-port-dev mailing list