make/aix/makefiles/fastdebug.make

Wed, 27 Apr 2016 01:25:04 +0800

author
aoqi
date
Wed, 27 Apr 2016 01:25:04 +0800
changeset 0
f90c822e73f8
child 7222
f6bde7889409
permissions
-rw-r--r--

Initial load
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/
changeset: 6782:28b50d07f6f8
tag: jdk8u25-b17

     1 #
     2 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
     3 # Copyright 2012, 2013 SAP AG. All rights reserved.
     4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5 #
     6 # This code is free software; you can redistribute it and/or modify it
     7 # under the terms of the GNU General Public License version 2 only, as
     8 # published by the Free Software Foundation.
     9 #
    10 # This code is distributed in the hope that it will be useful, but WITHOUT
    11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    12 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    13 # version 2 for more details (a copy is included in the LICENSE file that
    14 # accompanied this code).
    15 #
    16 # You should have received a copy of the GNU General Public License version
    17 # 2 along with this work; if not, write to the Free Software Foundation,
    18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    19 #
    20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    21 # or visit www.oracle.com if you need additional information or have any
    22 # questions.
    23 #  
    24 #
    26 # Sets make macros for making debug version of VM
    28 # Compiler specific OPT_CFLAGS are passed in from gcc.make, sparcWorks.make
    29 # Pare down optimization to -O2 if xlCV10.1 is in use.
    30 OPT_CFLAGS/DEFAULT= $(OPT_CFLAGS) $(QV10_OPT_CONSERVATIVE)
    31 OPT_CFLAGS/BYFILE = $(OPT_CFLAGS/$@)$(OPT_CFLAGS/DEFAULT$(OPT_CFLAGS/$@))
    33 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files)
    35 ifeq ($(BUILDARCH), ia64)
    36   # Bug in GCC, causes hang.  -O1 will override the -O3 specified earlier
    37   OPT_CFLAGS/callGenerator.o += -O1
    38   OPT_CFLAGS/ciTypeFlow.o += -O1
    39   OPT_CFLAGS/compile.o += -O1
    40   OPT_CFLAGS/concurrentMarkSweepGeneration.o += -O1
    41   OPT_CFLAGS/doCall.o += -O1
    42   OPT_CFLAGS/generateOopMap.o += -O1
    43   OPT_CFLAGS/generateOptoStub.o += -O1
    44   OPT_CFLAGS/graphKit.o += -O1
    45   OPT_CFLAGS/instanceKlass.o += -O1
    46   OPT_CFLAGS/interpreterRT_ia64.o += -O1
    47   OPT_CFLAGS/output.o += -O1
    48   OPT_CFLAGS/parse1.o += -O1
    49   OPT_CFLAGS/runtime.o += -O1
    50   OPT_CFLAGS/synchronizer.o += -O1
    51 endif
    54 # If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings
    55 CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE)
    57 # Set the environment variable HOTSPARC_GENERIC to "true"
    58 # to inhibit the effect of the previous line on CFLAGS.
    60 # Linker mapfile
    61 MAPFILE = $(GAMMADIR)/make/aix/makefiles/mapfile-vers-debug
    63 # xlc 10.1 parameters for ipa linkage.
    64 #  - remove ipa linkage altogether. Does not seem to benefit performance, 
    65 #    but increases code footprint.
    66 #  - this is a debug build in the end. Extra effort for ipa linkage is thus 
    67 #    not justified.
    68 LFLAGS_QIPA=
    70 G_SUFFIX = _g
    71 VERSION = optimized
    72 SYSDEFS += -DASSERT -DFASTDEBUG
    73 PICFLAGS = DEFAULT

mercurial