Ask for tutorials about how to port OpenJDK to a new, architecture/operating system

James Falknor james at peacemax.org
Sun Dec 9 09:50:56 PST 2012


frank wong,
You say that you are using Solaris on a new kind of achitecture. There 
is but four architectures that Solaris runs under: Sparc, Sparc 64-bit, 
x86, and x64.

Since Solaris is under Development by Oracle, and Java is under 
Development by Oracle, and Solaris is only available for Sparc and x64 
based architectures, then why not just use the latest release of Java 
for Solaris from Oracle's web site? Java is available for Solaris Sparc, 
Sparc 64-bit, x86 and x64.

If I'm not mistaken, current releases of Java from Oracle have OpenJDK 
development roled into it.

Since Java for Solaris is already available for the four different 
architecture types of Solaris, then OpenJDK for Solaris ought to already 
be available for the same architectures.

James

On 12/08/2012 01:00 PM, bsd-port-dev-request at openjdk.java.net wrote:
> Send bsd-port-dev mailing list submissions to
> 	bsd-port-dev at openjdk.java.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mail.openjdk.java.net/mailman/listinfo/bsd-port-dev
> or, via email, send a message with subject or body 'help' to
> 	bsd-port-dev-request at openjdk.java.net
>
> You can reach the person managing the list at
> 	bsd-port-dev-owner at openjdk.java.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of bsd-port-dev digest..."
>
>
> Today's Topics:
>
>     1. Ask for tutorials about how to port OpenJDK to a new
>        architecture/operating system (frank wong)
>     2. Re: Ask for tutorials about how to port OpenJDK to a new
>        architecture/operating system (Mario Torre)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 8 Dec 2012 20:24:18 +0800
> From: frank wong <aos.ppi.fudan at gmail.com>
> Subject: Ask for tutorials about how to port OpenJDK to a new
> 	architecture/operating system
> To: bsd-port-dev at openjdk.java.net
> Message-ID:
> 	<CAO8gwFCM8+-LBoPpeK0s7fn_wowxTxwL3TZ7QtADz9mvKHCdPg at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I have a new kind of architecture with Solaris, I want to port OpenJdk to
> this platform. So I wonder if there is any tutorial to teach me how to port
> OpenJdk to a new platform. (Maybe can tell me which part of OpenJDK need to
> be modified?)
>
> Thanks
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20121208/a5a2a6ea/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Sat, 8 Dec 2012 13:50:01 +0100
> From: Mario Torre <neugens.limasoftware at gmail.com>
> Subject: Re: Ask for tutorials about how to port OpenJDK to a new
> 	architecture/operating system
> To: frank wong <aos.ppi.fudan at gmail.com>
> Cc: bsd-port-dev at openjdk.java.net
> Message-ID:
> 	<CAGUMyaRTtCNMRDpqghQiSyGk0rZxaTiHUfvH_TMq5hN5wDd6-Q at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> There is a list more or less long of things to do to port OpenJDK, and
> this depends at least on the following main points:
>
> * Processor architecture
> * Operating System
> * Graphics backend
>
> The first bullet regards mainly Hotspot, and is the most complex
> aspect of the port, although it could be somehow simplified if you can
> use Shark and Zero. The Operating System bullet regards mostly the
> native layer (but also some part of the VM). OpenJDK doesn't really
> have yet a clean native layer separation, but if your OS is a POSIX
> one (you say is similar to Solaris, so this should be the case) you
> probably won't have to do much here (but I'm quite sure you will have
> some corner cases you will need to fix in some areas, for example -
> but not necessarily - the network layer).
>
> Finally, unless you use X11, you will probably need to port the
> graphics stack as well. You can use the Caciocavallo project to easy
> this task.
>
> It can be lots of work or just a matter of recompile and debug/fix
> selected issues, depending on how much you can reuse from the original
> code, but I would say that it will require you quite a few man months
> of work to get it done, especially if you plan to have a fully
> compliant implementation.
>
> Mario
>
> 2012/12/8 frank wong <aos.ppi.fudan at gmail.com>:
>> I have a new kind of architecture with Solaris, I want to port OpenJdk to
>> this platform. So I wonder if there is any tutorial to teach me how to port
>> OpenJdk to a new platform. (Maybe can tell me which part of OpenJDK need to
>> be modified?)
>>
>> Thanks
>>
>>
>>
>>
>
>




More information about the bsd-port-dev mailing list