Mercurial > hg > graal-compiler
view make/build.sh @ 20504:6948da6d7c13
8052172: Evacuation failure handling in G1 does not evacuate all objects if -XX:-G1DeferredRSUpdate is set
Summary: Remove -XX:-G1DeferredRSUpdate functionality as it is racy. During evacuation failure handling, threads where evacuation failure handling occurred may try to add remembered sets to regions which remembered sets are currently being scanned. The iterator to handle the remembered set scan does not support addition of entries during scan and so may skip valid references.
Reviewed-by: iveresov, brutisso, mgerdin
author | tschatzl |
---|---|
date | Tue, 30 Sep 2014 09:44:36 +0200 |
parents | bab5cbf74b5f |
children |
line wrap: on
line source
#! /bin/sh # # Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. # # This code is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # version 2 for more details (a copy is included in the LICENSE file that # accompanied this code). # # You should have received a copy of the GNU General Public License version # 2 along with this work; if not, write to the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. # # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA # or visit www.oracle.com if you need additional information or have any # questions. # # # Make sure the variable JAVA_HOME is set before running this script. set -u if [ $# -lt 1 ]; then echo "Usage : $0 BuildTarget [LP64=1] [BuildOptions]" echo " Server VM | Client VM" echo "BuildTarget : debug | debug1" echo " fastdebug | fastdebug1" echo " jvmg | jvmg1" echo " optimized | optimized1" echo " profiled | profiled1" echo " product | product1" exit 1 fi if [ "${JAVA_HOME-}" = "" -o ! -d "${JAVA_HOME-}" -o ! -d ${JAVA_HOME-}/jre/lib/ ]; then echo "JAVA_HOME needs to be set to a valid JDK path" echo "JAVA_HOME: ${JAVA_HOME-}" exit 1 fi # Just in case: JAVA_HOME=`( cd $JAVA_HOME; pwd )` if [ "${ALT_BOOTDIR-}" = "" -o ! -d "${ALT_BOOTDIR-}" -o ! -d ${ALT_BOOTDIR-}/jre/lib/ ]; then ALT_BOOTDIR=${JAVA_HOME} fi # build in current directory by default if [ "${ALT_OUTPUTDIR-}" = "" -o ! -d "${ALT_OUTPUTDIR-}" ]; then ALT_OUTPUTDIR=`(pwd)` fi HOTSPOT_SRC=`(dirname $0)`/.. HOTSPOT_SRC=`(cd ${HOTSPOT_SRC}; pwd)` for gm in gmake gnumake do if [ "${GNUMAKE-}" != "" ]; then break; fi ($gm --version >/dev/null) 2>/dev/null && GNUMAKE=$gm done : ${GNUMAKE:?'Cannot locate the gnumake program. Stop.'} # quiet build by default Quiet="MAKE_VERBOSE=" # no debug info by default NoDebugInfo="ENABLE_FULL_DEBUG_SYMBOLS=" LANG=C echo "### ENVIRONMENT SETTINGS:" export HOTSPOT_SRC ; echo "HOTSPOT_SRC=$HOTSPOT_SRC" export JAVA_HOME ; echo "JAVA_HOME=$JAVA_HOME" export ALT_BOOTDIR ; echo "ALT_BOOTDIR=$ALT_BOOTDIR" export ALT_OUTPUTDIR ; echo "ALT_OUTPUTDIR=$ALT_OUTPUTDIR" export GNUMAKE ; echo "GNUMAKE=$GNUMAKE" export LANG ; echo "LANG=$LANG" echo "###" BuildOptions="$Quiet $NoDebugInfo $*" echo \ ${GNUMAKE} -f ${HOTSPOT_SRC}/make/Makefile $BuildOptions GAMMADIR=${HOTSPOT_SRC} ${GNUMAKE} -f ${HOTSPOT_SRC}/make/Makefile $BuildOptions GAMMADIR=${HOTSPOT_SRC}