Shark hg repositories are now in harmony.

Dr Andrew John Hughes ahughes at redhat.com
Mon Aug 9 14:49:33 PDT 2010


On 16:04 Sat 07 Aug     , Xerxes Ranby wrote:
> On 2010-08-05 17:43, Dr Andrew John Hughes wrote:
> > On 5 August 2010 13:39, Xerxes Rånby<xerxes at zafena.se>  wrote:
> >    
> >> Hi all!
> >>
> >> I have harmonized all the three different Shark hg repositories in use
> >> by back-porting changes in between them.
> >>      
> > Thanks for doing this.
> >
> >    
> >> The three different shark repositories are:
> >>
> >> http://icedtea.classpath.org/hg/shark/hotspot
> >> This are the current "main" Shark hg repository where Gary does his work
> >> and makes sure that shark are ready to be included upstream into OpenJDK.
> >> This repository are targets the latest Hotspot hs19.
> >>
> >> http://icedtea.classpath.org/hg/icedtea
> >> This are the icedtea 7 hg repository containing the version of Shark
> >> fixed to work with Hotspot hs18 and OpenJDK 7.
> >> Today i have back-ported and pushed a fix to icedtea6 from the "main"
> >> shark repository to make Shark build with LLVM 2.7 on non-product builds.
> >> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-August/009915.html
> >> I have also pushed some changes to make it in sync with the icedtea6 hg.
> >> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-August/009911.html
> >> - Match Shark in icedtea6, makes OSR work by removing vestigal check.
> >> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-August/009916.html
> >> - Match Shark in icedtea6, Correct suffix for the llvm.atomic.cmp.swap
> >> intrinsic.
> >>
> >>      
> > Does this actually build now?  It's never worked for me before.
> >    
> Yes it does build!
> I have done sucessfull full bootstrap builds of icedtea 7 + shark on 
> ia32 and amd64 using Ubuntu 10.04.
> For these two builds I have built Shark in combination with the Ubuntu 
> supplied LLVM 2.7 package.
> 
> This are how i configured my build on amd64:
> 
> $ hg clone http://icedtea.classpath.org/hg/icedtea
> $ mkdir icedtea-shark
> $ cd icedtea
> icedtea$ ./autogen.sh
> icedtea$ cd ../icedtea-shark
> icedtea-shark$ ../icedtea/configure --enable-shark --with-parallel-jobs=4
> icedtea-shark$ time make
> 
> ... and 96min later after processing docs etc...
> 

You know there's a --disable-docs option, right? :-)

> IcedTea is served: /media/_/icedtea-shark/openjdk.build
> ...
> 
> icedtea-shark$ ./openjdk.build/j2sdk-image/bin/java -version
> java version "1.7.0_89-icedtea"
> OpenJDK Runtime Environment (IcedTea7 1.14-pre+r90b892525f1b) (Ubuntu 
> build 1.7.0_89-icedtea-b89)
> OpenJDK 64-Bit Shark VM (build 18.0-b02, mixed mode)
> 
> > Please be aware that IcedTea7 will be bumping up to the latest
> > OpenJDK7 now 1.13 is out.
> >
> >    
> 
> Thanks,Ii will keep this in mind and backport any fixes needed from the 
> "main" Shark hg if the get a new Hotspot.
> Will we get a new Hotspot hs19 after the bump?
> 

I just updated the IcedTea forest (http://hg.openjdk.java.net/icedtea/jdk7) to b104
(last update was b89 to b101).

$ cat hotspot/make/hotspot_version
...
HS_MAJOR_VER=19
HS_MINOR_VER=0
HS_BUILD_NUMBER=05

For now, IcedTea7 still builds against the earlier b89 changesets.

> >> http://icedtea.classpath.org/hg/icedtea6
> >> This are the icedtea6 hg repository containing the version of Shark that
> >> currently gets packaged and used by various linux distributions.
> >>      
> > Does Shark get packaged? I wasn't aware of this.
> >    
> 
> For what i know, the following distributions package Shark:
> 
> Debian, Ubuntu
> http://packages.debian.org/search?keywords=openjdk-6-jre-zero
> for amd64 armel i386 and powerpc
> 
> Ångstrom.
> http://www.angstrom-distribution.org/repo/?pkgname=openjdk-6-shark-vm-shark
> 
> I have also started to see some Shark success reports where users starts 
> to recommend the use of Shark on small embedded servers.
> http://plugcomputer.org/plugforum/index.php?topic=1633.0
> 

Do we know if anyone has used the packages?

My experiences of Shark suggest that production use is still very premature.

> 
> >    
> >> This repository are fixed to work with Hotspot hs17.
> >> Today i have backported and pushed a fix to icedtea6 from the "main"
> >> shark repository to make Shark build with LLVM 2.7 on non-product builds.
> >> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-August/009914.html
> >>
> >> With these fixes in place all Shark hg repository HEAD's are now in
> >> harmony, they can bootstrap them self nicely and runs rock stable.
> >>
> >> Cheers and have a great day!
> >>      
> > You too!  Great work.
> >
> >    
> >> Xerxes
> >>      
> 

-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list