Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Java Porting Query ..

8 views
Skip to first unread message

ssmile

unread,
Aug 29, 2012, 9:00:53 AM8/29/12
to
Hello !!

I have a RISC based 32-bit processor on an embedded platform.


About the embedded platform, the following information can be assumed...
* A GCC based toolchain supporting C and C++ is available for that platform.
* Amount of Memory (RAM) on the platform is configurable to a certain extent.
* A suitable version of Linux (2.4.x.x) will be running on this platform.


What is required is complete support for Java development and execution.


I would like feedback from anyone who has ported a Java Runtime Environment (JRE) onto custom processors.


What are the issues that are encountered? What work needs to be done on the target platform and what support needs to be added on the Host/ Development side?


For example, the JVM (which is part of a JRE) typically includes a JIT compiler. This compiler will take Java bytecode and convert it to native assembly code. For a custom processor, this code generation will have to be implemented.


JVMs have memory allocation modules. Do they need any customization?


Once a JRE is ported onto the custom platform, does it have to go through any certification process?


Any insights into the process of porting a Java Runtime will help.
==========================================

~ Thanks!!

Roedy Green

unread,
Aug 29, 2012, 3:45:01 PM8/29/12
to
On Wed, 29 Aug 2012 06:00:53 -0700 (PDT), ssmile <ssmi...@gmail.com>
wrote, quoted or indirectly quoted someone who said :

>I have a RISC based 32-bit processor on an embedded platform.

This is quite a hunk of work, and it also entails ongoing maintenance.
I would do a long search to see if anyone has already done this or
needs it. It is not a one-man in-your-basement project.

It is not just the chip you have to customise, it is the OS. Have a
look at how many native methods there are in the JDK. You will have
to customise all those.

You might get an idea by comparing source for complete JDKs for
various platforms and comparing the source to see how much differs.

--
Roedy Green Canadian Mind Products http://mindprod.com
A new scientific truth does not triumph by convincing its opponents and making them see the light,
but rather because its opponents eventually die, and a new generation grows up that is familiar with it.
~ Max Planck 1858-04-23 1947-10-04


0 new messages