Code:
acrux:~$ java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9) (cruxppc-2.6-ppc)
OpenJDK Shark VM (build 17.0-b16, mixed mode)
Shark VM on 32bit Power Architecture platform is enough stable and usable and it'd be 5%-20% faster than Zero VM.
Here a quick 'n dirty diff from the standard
ppc/opt/icedtea6 port of CRUX PPC 2.6 :
Code:
root:~# diff -Naur /usr/ports/ppc/opt/icedtea6/Pkgfile 0/Pkgfile
--- /usr/ports/ppc/opt/icedtea6/Pkgfile 2010-09-14 11:44:55.000000000 +0200
+++ 0/Pkgfile 2010-09-13 21:32:44.000000000 +0200
@@ -2,15 +2,15 @@
# URL: http://icedtea.classpath.org/
# Maintainer: acrux, acrux at linuxmail dot org
# Packager: Giuseppe Coviello <>
-# Depends on: ant, libffi, nspr, nss, xulrunner, libungif, jdk, rhino, xalan-java, xorg-libxp, cups
+# Depends on: llvm, ant, ecj-java, fastjar, libffi, xulrunner, libungif, jdk, rhino, xalan-java, xerces2-java, xorg-libxp, cups
# PPC!=upstream:
name=icedtea6
version=1.9
-release=1
+release=2
source=(http://icedtea.classpath.org/download/source/$name-$version.tar.gz \
http://download.java.net/openjdk/jdk6/promoted/b20/openjdk-6-src-b20-21_jun_2010.tar.gz \
- https://jaxp.dev.java.net/files/documents/913/150648/jdk6-jaxp-b20.zip \
+ https://jaxp.dev.java.net/files/documents/913/150648/jdk6-jaxp-b20.zip \
https://jax-ws.dev.java.net/files/documents/4202/150724/jdk6-jaxws-b20.zip \
https://jax-ws.dev.java.net/files/documents/4202/150725/jdk6-jaf-b20.zip \
$name-libungif.diff \
@@ -25,7 +25,7 @@
mkdir bin
find /bin -exec ln -s {} bin \;
- ln -s /usr/bin/{cpio,grep,egrep,zip,unzip,gawk,cut,tr} bin
+ ln -s /usr/bin/{cpio,grep,egrep,zip,unzip,gawk,cut,tr,expr} bin
export PATH=$PWD/bin:$PATH
sed 's|lgif|lungif|' -i configure
@@ -36,10 +36,14 @@
--with-jaf-drop-zip=$PKGMK_SOURCE_DIR/jdk6-jaf-b20.zip \
--with-jaxws-drop-zip=$PKGMK_SOURCE_DIR/jdk6-jaxws-b20.zip \
--with-openjdk=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.${_arch} \
+ --enable-shark --enable-zero \
--enable-nss \
--disable-docs \
-with-xalan2-jar=/usr/share/java/xalan.jar \
+ --with-xerces2-jar=/usr/share/java/xercesImpl.jar \
+ --with-xalan2-serializer-jar=/usr/share/java/serializer.jar \
--with-rhino=/usr/share/java/js.jar \
+ --with-ecj-jar=/usr/share/java/ecj.jar \
--with-ant-home=/usr/lib/ant \
--with-pkgversion=cruxppc-2.6-${_arch} \
--with-abs-install-dir=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.${_arch} \
@@ -54,6 +58,8 @@
# this FIX xulrunner path
sed 's|/stable|/|' -i Makefile
+ sed 's|-Xbatch|-Xbatch -Xint|' -i openjdk/hotspot/make/linux/makefiles/buildtree.make
+
make UNIXCOMMAND_PATH=$PWD/bin/
mkdir -p $PKG/usr/{bin,lib/jvm,man}
@@ -63,8 +69,7 @@
export GLOBIGNORE="*/man1"
rm -rf *openjdk*/{man/,jre/lib/javaws/messages_,demo,sample}*
- rm -rf *openjdk*/jre/lib/fontconfig.*.bfc
- rm -rf *openjdk*/jre/lib/fontconfig.*.properties.src
+ rm -rf *openjdk*/jre/lib/fontconfig.*.{bfc,properties.src}
export GLOBIGNORE="*/src.zip"
for i in *openjdk*/* *openjdk*/jre/*; do