Mercurial > hg > graal-compiler
view domake @ 1465:2c754f3a2722
Inlining of static final field values. Java mirror instead of VmID. Support for PrintMetrics option.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Thu, 18 Nov 2010 17:27:43 +0100 |
parents | 5f1100e1cb12 |
children | c0de7306803c |
line wrap: on
line source
#!/bin/bash test -n "$JRE7" || { echo "Need to set JRE7 environment variable to the base of a JRE 1.7"; exit 1; } # Resolve location of this script me="${BASH_SOURCE[0]}" while [ -h "$me" ]; do me=`readlink -e "$me"` done hsx_home=$(cd `dirname $me`; pwd) grep '-client KNOWN' $JRE7/lib/amd64/jvm.cfg >/dev/null if [ $? -ne 0 ] ; then echo "The setting for -client in $JRE7/lib/amd64/jvm.cfg must be:" echo echo " -client KNOWN" echo exit 1 fi java_link="$hsx_home/c1x4hotspotsrc/hotspot/java" if [ ! -e $java_link ]; then echo "Creating link: $java_link -> $JRE7/bin/java" ln -s $JRE7/bin/java $java_link fi pushd $hsx_home/make ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk/ LANG=C ARCH_DATA_MODEL=64 HOTSPOT_BUILD_JOBS=2 make jvmg1 echo "Copying binaries to JRE7 directory $JRE7" cp ../build/linux/linux_amd64_compiler1/jvmg/libjvm.so $JRE7/lib/amd64/client cp ../build/linux/linux_amd64_compiler1/jvmg/libjsig.so $JRE7/lib/amd64/client popd