hotspot/make/lib/JvmOverrideFiles.gmk
author simonis
Tue, 07 Jun 2016 18:26:10 +0200
changeset 39214 294cc054a0b4
parent 38097 1ca3d6f508b1
child 39392 eb15425824c3
permissions -rw-r--r--
8158938: AIX: some more new hotspot build fixes Reviewed-by: erikj
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37437
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
     1
#
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
     2
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
     4
#
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    10
#
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    15
# accompanied this code).
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    16
#
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    20
#
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    23
# questions.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    24
#
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    25
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    26
$(eval $(call IncludeCustomExtension, hotspot, lib/JvmOverrideFiles.gmk))
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    27
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    28
################################################################################
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    29
# This file contains explicit overrides of CFLAGS and/or precompiled header
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    30
# status for individual files on specific platforms.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    31
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    32
ifeq ($(TOOLCHAIN_TYPE), gcc)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    33
  BUILD_LIBJVM_vmStructs.cpp_CXXFLAGS := -fno-var-tracking-assignments -O0
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    34
endif
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    35
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    36
ifeq ($(OPENJDK_TARGET_OS), linux)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    37
  BUILD_LIBJVM_ostream.cpp_CXXFLAGS := -D_FILE_OFFSET_BITS=64
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    38
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    39
  ifeq ($(OPENJDK_TARGET_CPU_ARCH), x86)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    40
    BUILD_LIBJVM_sharedRuntimeTrig.cpp_CXXFLAGS := -DNO_PCH $(CXX_O_FLAG_NONE)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    41
    BUILD_LIBJVM_sharedRuntimeTrans.cpp_CXXFLAGS := -DNO_PCH $(CXX_O_FLAG_NONE)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    42
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    43
    ifeq ($(TOOLCHAIN_TYPE), clang)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    44
      JVM_PRECOMPILED_HEADER_EXCLUDE := \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    45
          sharedRuntimeTrig.cpp \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    46
          sharedRuntimeTrans.cpp \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    47
          #
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    48
    endif
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    49
  endif
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    50
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    51
  ifeq ($(OPENJDK_TARGET_CPU), x86)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    52
    # Performance measurements show that by compiling GC related code, we could
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    53
    # significantly reduce the GC pause time on 32 bit Linux/Unix platforms by
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    54
    # compiling without the PIC flag (-fPIC on linux).
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    55
    # See 6454213 for more details.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    56
    ALL_SRC := $(filter %.cpp, $(call CacheFind, $(HOTSPOT_TOPDIR)/src/share/vm))
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    57
    NONPIC_FILTER := $(addsuffix %, $(addprefix $(HOTSPOT_TOPDIR)/src/share/vm/, \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    58
        memory oops gc))
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    59
    # Due to what looks like a bug in the old build implementation of this, add a
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    60
    # couple of more files that were accidentally matched as substrings of GC related
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    61
    # files.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    62
    NONPIC_SRC := $(filter $(NONPIC_FILTER), $(ALL_SRC)) globals.cpp location.cpp
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    63
    # Declare variables for each source file that needs the pic flag like this:
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    64
    # BUILD_JVM_<srcfile>_CXXFLAGS := -fno-PIC
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    65
    # This will get implicitly picked up by SetupNativeCompilation below.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    66
    $(foreach s, $(NONPIC_SRC), $(eval BUILD_LIBJVM_$(notdir $s)_CXXFLAGS := -fno-PIC))
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    67
  endif
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    68
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    69
else ifeq ($(OPENJDK_TARGET_OS), solaris)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    70
  ifneq ($(DEBUG_LEVEL), slowdebug)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    71
    # Workaround for a bug in dtrace.  If ciEnv::post_compiled_method_load_event()
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    72
    # is inlined, the resulting dtrace object file needs a reference to this
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    73
    # function, whose symbol name is too long for dtrace.  So disable inlining
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    74
    # for this method for now. (fix this when dtrace bug 6258412 is fixed)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    75
    BUILD_LIBJVM_ciEnv.cpp_CXXFLAGS := \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    76
        -xinline=no%__1cFciEnvbFpost_compiled_method_load_event6MpnHnmethod__v_
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    77
    # dtrace cannot handle tail call optimization (6672627, 6693876)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    78
    BUILD_LIBJVM_jni.cpp_CXXFLAGS := -Qoption ube -O~yz
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    79
    BUILD_LIBJVM_stubGenerator_$(HOTSPOT_TARGET_CPU).cpp_CXXFLAGS := -xspace
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    80
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    81
    ifeq ($(OPENJDK_TARGET_CPU), x86_64)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    82
      # Temporary until SS10 C++ compiler is fixed
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    83
      BUILD_LIBJVM_generateOptoStub.cpp_CXXFLAGS := -xO2
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    84
      # Temporary util SS12u1 C++ compiler is fixed
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    85
      BUILD_LIBJVM_c1_LinearScan.cpp_CXXFLAGS := -xO2
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    86
    endif
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    87
  endif
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    88
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    89
  # Need extra inlining to get oop_ps_push_contents functions to perform well enough.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    90
  ifeq ($(DEBUG_LEVEL),release)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    91
    BUILD_LIBJVM_psPromotionManager.cpp_CXXFLAGS := -W2,-Ainline:inc=1000
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    92
  endif
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    93
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    94
  ifeq ($(DEBUG_LEVEL), fastdebug)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    95
    # this hangs in iropt now (7113504)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    96
    BUILD_LIBJVM_compileBroker.cpp_CXXFLAGS := -xO2
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    97
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    98
    # Frame size > 100k  if we allow inlining via -g0!
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
    99
    BUILD_LIBJVM_bytecodeInterpreter.cpp_CXXFLAGS := +d
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   100
    BUILD_LIBJVM_bytecodeInterpreterWithChecks.cpp_CXXFLAGS := +d
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   101
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   102
    ifeq ($(OPENJDK_TARGET_CPU_ARCH), x86)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   103
      # ube explodes on x86
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   104
      BUILD_LIBJVM_bytecodeInterpreter.cpp_CXXFLAGS += -xO1
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   105
      BUILD_LIBJVM_bytecodeInterpreterWithChecks.cpp_CXXFLAGS += -xO1
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   106
    endif
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   107
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   108
  endif
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   109
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   110
else ifeq ($(OPENJDK_TARGET_OS), macosx)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   111
  # The copied fdlibm routines in these files must not be optimized
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   112
  BUILD_LIBJVM_sharedRuntimeTrans.cpp_CXXFLAGS := $(CXX_O_FLAG_NONE)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   113
  BUILD_LIBJVM_sharedRuntimeTrig.cpp_CXXFLAGS := $(CXX_O_FLAG_NONE)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   114
  ifeq ($(TOOLCHAIN_TYPE), clang)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   115
    # NOTE: The old build tested clang version to make sure this workaround
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   116
    # for the clang bug was still needed.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   117
    BUILD_LIBJVM_loopTransform.cpp_CXXFLAGS := $(CXX_O_FLAG_NONE)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   118
    ifneq ($(DEBUG_LEVEL), slowdebug)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   119
      BUILD_LIBJVM_unsafe.cpp_CXXFLAGS := -O1
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   120
    endif
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   121
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   122
    # The following files are compiled at various optimization
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   123
    # levels due to optimization issues encountered at the
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   124
    # default level. The Clang compiler issues a compile
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   125
    # time error if there is an optimization level specification
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   126
    # skew between the PCH file and the C++ file.  Especially if the
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   127
    # PCH file is compiled at a higher optimization level than
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   128
    # the C++ file.  One solution might be to prepare extra optimization
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   129
    # level specific PCH files for the opt build and use them here, but
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   130
    # it's probably not worth the effort as long as only a few files
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   131
    # need this special handling.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   132
    JVM_PRECOMPILED_HEADER_EXCLUDE := \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   133
        sharedRuntimeTrig.cpp \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   134
        sharedRuntimeTrans.cpp \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   135
        loopTransform.cpp \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   136
        unsafe.cpp \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   137
        jvmciCompilerToVM.cpp \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   138
        #
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   139
  endif
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   140
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   141
else ifeq ($(OPENJDK_TARGET_OS), aix)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   142
  BUILD_LIBJVM_synchronizer.cpp_CXXFLAGS := -qnoinline
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   143
  BUILD_LIBJVM_sharedRuntimeTrans.cpp_CXXFLAGS := $(CXX_O_FLAG_NONE)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   144
  # Disable aggressive optimizations for functions in sharedRuntimeTrig.cpp
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   145
  # and sharedRuntimeTrans.cpp on ppc64.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   146
  # -qstrict turns off the following optimizations:
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   147
  #   * Performing code motion and scheduling on computations such as loads
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   148
  #     and floating-point computations that may trigger an exception.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   149
  #   * Relaxing conformance to IEEE rules.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   150
  #   * Reassociating floating-point expressions.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   151
  # When using '-qstrict' there still remains one problem
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   152
  # in javasoft.sqe.tests.api.java.lang.Math.sin5Tests when run in compile-all
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   153
  # mode, so don't optimize sharedRuntimeTrig.cpp at all.
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   154
  BUILD_LIBJVM_sharedRuntimeTrig.cpp_CXXFLAGS := $(CXX_O_FLAG_NONE)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   155
39214
294cc054a0b4 8158938: AIX: some more new hotspot build fixes
simonis
parents: 38097
diff changeset
   156
  ifneq ($(DEBUG_LEVEL),slowdebug)
294cc054a0b4 8158938: AIX: some more new hotspot build fixes
simonis
parents: 38097
diff changeset
   157
    # Compiling jvmtiEnterTrace.cpp with full optimization needs more than 30min
294cc054a0b4 8158938: AIX: some more new hotspot build fixes
simonis
parents: 38097
diff changeset
   158
    # (mostly because of '-qhot=level=1' and the more than 1300 'log_trace' calls
294cc054a0b4 8158938: AIX: some more new hotspot build fixes
simonis
parents: 38097
diff changeset
   159
    # which cause a lot of template expansion).
294cc054a0b4 8158938: AIX: some more new hotspot build fixes
simonis
parents: 38097
diff changeset
   160
    BUILD_LIBJVM_jvmtiEnterTrace.cpp_OPTIMIZATION := LOW
294cc054a0b4 8158938: AIX: some more new hotspot build fixes
simonis
parents: 38097
diff changeset
   161
  endif
294cc054a0b4 8158938: AIX: some more new hotspot build fixes
simonis
parents: 38097
diff changeset
   162
37437
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   163
  # Disable ELF decoder on AIX (AIX uses XCOFF).
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   164
  JVM_EXCLUDE_PATTERNS += elf
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   165
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   166
else ifeq ($(OPENJDK_TARGET_OS), windows)
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   167
  JVM_PRECOMPILED_HEADER_EXCLUDE := \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   168
      bytecodeInterpreter.cpp \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   169
      bytecodeInterpreterWithChecks.cpp \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   170
      opcodes.cpp \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   171
      os_windows.cpp \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   172
      os_windows_x86.cpp \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   173
      osThread_windows.cpp \
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   174
      #
f824aabc7af8 8152666: The new Hotspot Build System
erikj
parents:
diff changeset
   175
endif