make/linux/makefiles/fastdebug.make

Fri, 28 Aug 2020 07:38:21 +0100

author
andrew
date
Fri, 28 Aug 2020 07:38:21 +0100
changeset 9995
633a3d28d2fe
parent 5784
190899198332
child 6876
710a3c8b516e
permissions
-rw-r--r--

8251120: [8u] HotSpot build assumes ENABLE_JFR is set to either true or false
Summary: Only test for ENABLE_JFR being true, and assume undefined == false
Reviewed-by: neugens

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

mercurial