Porting Java ME to Open JDK

Christian Thalinger twisti at complang.tuwien.ac.at
Wed Apr 23 00:17:06 PDT 2008


On Tue, 2008-04-22 at 16:33 -0500, Eric Bresie wrote:
> This is probably a question I need to read up some more, but maybe you
> can answer in a few words.  Isn't ME based on SE 1.4.x source?  What
> kind of divergence (besides the VMs, hardware specific optimizations,
> and subsets or extensions for use with small footprints) occurred?  I
> always thought ME was basically a subset of SE with a smaller
> footprint VM (for small resource devices).

I'm very sure it's not based on the SE source.  I have implemented three
different VM interfaces in CACAO[1]:

1. GNU Classpath
2. phoneME CLDC-1.1
3. OpenJDK

And the OpenJDK one is very different to the others.  There are a lot of
smaller or bigger hacks in HotSpot do get things done properly and I'm
not sure how easy it will be to get them out.  But I think it could be
done.

The more important question is, is it worth to tailor HotSpot to be able
to run phoneME classes with its powerful (and memory using) JIT
compilers?

[1] http://www.cacaovm.org/

- twisti




More information about the porters-dev mailing list