building cacao as an additional VM

Robert Schuster theBohemian at gmx.net
Tue Mar 3 09:55:42 PST 2009


Hi Matthias,
this is very cool stuff indeed. In embedded land (ie. ARM) this would
mean that one can have nice and JVMTI-having Hotspot and decent
JIT-having Cacao at the same time without wasting tons of MiB.

Regards
Robert

Matthias Klose schrieb:
> Triggered by archive administrators and security people who don't want to care
> about two copies of the OpenJDK code in a distribution, I tried to build cacao
> as additional VM in the same source package and avoiding separate builds. You
> can now call:
> 
>   $ java -version
>   java version "1.6.0_0"
>   OpenJDK Runtime Environment (IcedTea6 1.4) (6b14-0ubuntu18)
>   OpenJDK Server VM (build 14.0-b08, mixed mode)
> 
>   $ java -cacao -version
>   java version "1.6.0_0"
>   OpenJDK Runtime Environment (IcedTea6 1.4) (6b14-0ubuntu18)
>   CACAO (build 0.99.3+hg, compiled mode)
> 
> The cacao bits are installed in <top>/jre/lib/<arch>/cacao, cacao is configured
> like for the cacao build in IcedTea, the cacao-alternate-vm patch replaces the
> icedtea-cacao patch, cacao-jni-version needs applied to the cacao sources.
> The file jvm.cfg.in needs an additional line '-cacao KNOWN'.
> 
> There is no configure/make stuff for IcedTea yet; I'm currently assembling this
> directly in the packaging.
> 
> Doing the same with Zero and with Shark? Didn't check yet, but maybe this would
> need a copy of openjdk/hotspot to openjdk/zero, so that patches are applied for
> the latter only.
> 
> Ok to checkin these patches (without applying them)?
> 
>   Matthias
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090303/22dbc6d3/signature.asc 


More information about the distro-pkg-dev mailing list