135 JVM_CFLAGS_FEATURES += -DINCLUDE_NMT=0 136 JVM_EXCLUDE_FILES += \ 137 memBaseline.cpp memReporter.cpp mallocTracker.cpp virtualMemoryTracker.cpp nmtCommon.cpp \ 138 memTracker.cpp nmtDCmd.cpp mallocSiteTable.cpp 139 endif 140 141 ifeq ($(call check-jvm-feature, aot), true) 142 JVM_CFLAGS_FEATURES += -DINCLUDE_AOT 143 else 144 JVM_EXCLUDE_FILES += \ 145 compiledIC_aot_x86_64.cpp compilerRuntime.cpp \ 146 aotCodeHeap.cpp aotCompiledMethod.cpp aotLoader.cpp compiledIC_aot.cpp 147 endif 148 ################################################################################ 149 150 ifeq ($(call check-jvm-feature, link-time-opt), true) 151 # NOTE: Disable automatic opimization level and let the explicit cflag control 152 # optimization level instead. This activates O3 on slowdebug builds, just 153 # like the old build, but it's probably not right. 154 JVM_OPTIMIZATION := 155 JVM_CFLAGS_FEATURES += -O3 -flto 156 JVM_LDFLAGS_FEATURES += -O3 -flto -fuse-linker-plugin -fno-strict-aliasing 157 endif 158 159 ifeq ($(call check-jvm-feature, minimal), true) 160 ifeq ($(call check-jvm-feature, link-time-opt), false) 161 JVM_OPTIMIZATION := SIZE 162 OPT_SPEED_SRC := \ 163 allocation.cpp \ 164 assembler.cpp \ 165 assembler_linux_arm.cpp \ 166 barrierSet.cpp \ 167 basicLock.cpp \ 168 biasedLocking.cpp \ 169 bytecode.cpp \ 170 bytecodeInterpreter.cpp \ 171 bytecodeInterpreter_x86.cpp \ 172 c1_Compilation.cpp \ 173 c1_Compiler.cpp \ 174 c1_GraphBuilder.cpp \ 175 c1_LinearScan.cpp \ 176 c1_LIR.cpp \ | 135 JVM_CFLAGS_FEATURES += -DINCLUDE_NMT=0 136 JVM_EXCLUDE_FILES += \ 137 memBaseline.cpp memReporter.cpp mallocTracker.cpp virtualMemoryTracker.cpp nmtCommon.cpp \ 138 memTracker.cpp nmtDCmd.cpp mallocSiteTable.cpp 139 endif 140 141 ifeq ($(call check-jvm-feature, aot), true) 142 JVM_CFLAGS_FEATURES += -DINCLUDE_AOT 143 else 144 JVM_EXCLUDE_FILES += \ 145 compiledIC_aot_x86_64.cpp compilerRuntime.cpp \ 146 aotCodeHeap.cpp aotCompiledMethod.cpp aotLoader.cpp compiledIC_aot.cpp 147 endif 148 ################################################################################ 149 150 ifeq ($(call check-jvm-feature, link-time-opt), true) 151 # NOTE: Disable automatic opimization level and let the explicit cflag control 152 # optimization level instead. This activates O3 on slowdebug builds, just 153 # like the old build, but it's probably not right. 154 JVM_OPTIMIZATION := 155 JVM_CFLAGS_FEATURES += -O0 -flto 156 JVM_LDFLAGS_FEATURES += -O0 -flto -fuse-linker-plugin -fno-strict-aliasing 157 endif 158 159 ifeq ($(call check-jvm-feature, minimal), true) 160 ifeq ($(call check-jvm-feature, link-time-opt), false) 161 JVM_OPTIMIZATION := SIZE 162 OPT_SPEED_SRC := \ 163 allocation.cpp \ 164 assembler.cpp \ 165 assembler_linux_arm.cpp \ 166 barrierSet.cpp \ 167 basicLock.cpp \ 168 biasedLocking.cpp \ 169 bytecode.cpp \ 170 bytecodeInterpreter.cpp \ 171 bytecodeInterpreter_x86.cpp \ 172 c1_Compilation.cpp \ 173 c1_Compiler.cpp \ 174 c1_GraphBuilder.cpp \ 175 c1_LinearScan.cpp \ 176 c1_LIR.cpp \ |