Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/make/aix/makefiles/fastdebug.make
32284 views
#1# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.2# Copyright 2012, 2013 SAP AG. All rights reserved.3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.4#5# This code is free software; you can redistribute it and/or modify it6# under the terms of the GNU General Public License version 2 only, as7# published by the Free Software Foundation.8#9# This code is distributed in the hope that it will be useful, but WITHOUT10# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License12# version 2 for more details (a copy is included in the LICENSE file that13# accompanied this code).14#15# You should have received a copy of the GNU General Public License version16# 2 along with this work; if not, write to the Free Software Foundation,17# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.18#19# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA20# or visit www.oracle.com if you need additional information or have any21# questions.22#23#2425# Sets make macros for making debug version of VM2627# Compiler specific OPT_CFLAGS are passed in from gcc.make, sparcWorks.make28# Pare down optimization to -O2 if xlCV10.1 is in use.29OPT_CFLAGS/DEFAULT= $(OPT_CFLAGS) $(QV10_OPT_CONSERVATIVE)30OPT_CFLAGS/BYFILE = $(OPT_CFLAGS/$@)$(OPT_CFLAGS/DEFAULT$(OPT_CFLAGS/$@))3132# (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files)3334ifeq ($(BUILDARCH), ia64)35# Bug in GCC, causes hang. -O1 will override the -O3 specified earlier36OPT_CFLAGS/callGenerator.o += -O137OPT_CFLAGS/ciTypeFlow.o += -O138OPT_CFLAGS/compile.o += -O139OPT_CFLAGS/concurrentMarkSweepGeneration.o += -O140OPT_CFLAGS/doCall.o += -O141OPT_CFLAGS/generateOopMap.o += -O142OPT_CFLAGS/generateOptoStub.o += -O143OPT_CFLAGS/graphKit.o += -O144OPT_CFLAGS/instanceKlass.o += -O145OPT_CFLAGS/interpreterRT_ia64.o += -O146OPT_CFLAGS/output.o += -O147OPT_CFLAGS/parse1.o += -O148OPT_CFLAGS/runtime.o += -O149OPT_CFLAGS/synchronizer.o += -O150endif515253# If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings54CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE)5556# Set the environment variable HOTSPARC_GENERIC to "true"57# to inhibit the effect of the previous line on CFLAGS.5859# Linker mapfile60MAPFILE = $(GAMMADIR)/make/aix/makefiles/mapfile-vers-debug6162# xlc 10.1 parameters for ipa linkage.63# - remove ipa linkage altogether. Does not seem to benefit performance,64# but increases code footprint.65# - this is a debug build in the end. Extra effort for ipa linkage is thus66# not justified.67LFLAGS_QIPA=6869VERSION = optimized70SYSDEFS += -DASSERT -DFASTDEBUG71PICFLAGS = DEFAULT727374