It is currently 30 Jan 2012, 11:10

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: IcedTea6-1.9 - OpenJDK Shark VM for ppc32
PostPosted: 14 Sep 2010, 11:38 
Offline
User avatar

Joined: 17 Dec 2005, 14:31
Posts: 296
Location: Italy
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


Top
 Profile  
 
 Post subject: Re: IcedTea6-1.9.1 - OpenJDK Shark VM for ppc32
PostPosted: 23 Oct 2010, 13:50 
Offline
User avatar

Joined: 17 Dec 2005, 14:31
Posts: 296
Location: Italy
Code:
acrux:~$ java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.1) (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 diff from the standard ppc/opt/icedtea6 port of CRUX PPC 2.6 :

Code:
--- /ppc/opt/icedtea6/zero/Pkgfile      2010-10-17 16:41:56 +0200
+++ /ppc/opt/icedtea6/shark/Pkgfile     2010-10-17 16:39:21 +0200
@@ -2,12 +2,12 @@
# URL: http://icedtea.classpath.org/
# Maintainer: acrux, acrux at linuxmail dot org
# Packager: Giuseppe Coviello <>
-# Depends on: ant, libffi, fastjar, xulrunner, freetype, libungif, jdk, rhino, xalan-java, xorg-libxp, cups
+# Depends on: llvm, ant, libffi, fastjar, xulrunner, freetype, libungif, jdk, rhino, xalan-java, xorg-libxp, cups
# PPC!=upstream:

name=icedtea6
version=1.9.1
-release=1
+release=0
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 \
@@ -35,7 +35,7 @@
                --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-zero \
+               --enable-zero --enable-shark \
                --enable-nss \
                --disable-docs \
                -with-xalan2-jar=/usr/share/java/xalan.jar \




Top
 Profile  
 
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

cron