hotspot/make/lib/JvmFeatures.gmk
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File jdk9-arm3264 Sdiff hotspot/make/lib

hotspot/make/lib/JvmFeatures.gmk

Print this page




 125 endif
 126 
 127 ifneq ($(call check-jvm-feature, all-gcs), true)
 128   JVM_CFLAGS_FEATURES += -DINCLUDE_ALL_GCS=0
 129   JVM_EXCLUDE_PATTERNS += \
 130       cms/ g1/ parallel/
 131   JVM_EXCLUDE_FILES += \
 132       concurrentGCThread.cpp \
 133       plab.cpp
 134   JVM_EXCLUDE_FILES += \
 135       g1MemoryPool.cpp \
 136       psMemoryPool.cpp
 137 endif
 138 
 139 ifneq ($(call check-jvm-feature, nmt), true)
 140   JVM_CFLAGS_FEATURES += -DINCLUDE_NMT=0
 141   JVM_EXCLUDE_FILES += \
 142       memBaseline.cpp memReporter.cpp mallocTracker.cpp virtualMemoryTracker.cpp nmtCommon.cpp \
 143       memTracker.cpp nmtDCmd.cpp mallocSiteTable.cpp
 144 endif













































































































 125 endif
 126 
 127 ifneq ($(call check-jvm-feature, all-gcs), true)
 128   JVM_CFLAGS_FEATURES += -DINCLUDE_ALL_GCS=0
 129   JVM_EXCLUDE_PATTERNS += \
 130       cms/ g1/ parallel/
 131   JVM_EXCLUDE_FILES += \
 132       concurrentGCThread.cpp \
 133       plab.cpp
 134   JVM_EXCLUDE_FILES += \
 135       g1MemoryPool.cpp \
 136       psMemoryPool.cpp
 137 endif
 138 
 139 ifneq ($(call check-jvm-feature, nmt), true)
 140   JVM_CFLAGS_FEATURES += -DINCLUDE_NMT=0
 141   JVM_EXCLUDE_FILES += \
 142       memBaseline.cpp memReporter.cpp mallocTracker.cpp virtualMemoryTracker.cpp nmtCommon.cpp \
 143       memTracker.cpp nmtDCmd.cpp mallocSiteTable.cpp
 144 endif
 145 
 146 ################################################################################
 147 
 148 ifeq ($(call check-jvm-feature, link-time-opt), true)
 149   # NOTE: Disable automatic opimization level and let the explicit cflag control
 150   # optimization level instead. This activates O3 on slowdebug builds, just
 151   # like the old build, but it's probably not right.
 152   JVM_OPTIMIZATION :=
 153   JVM_CFLAGS_FEATURES += -O3 -flto
 154   JVM_LDFLAGS_FEATURES += -O3 -flto -fwhole-program -fno-strict-aliasing
 155 endif
 156 
 157 ifeq ($(call check-jvm-feature, minimal), true)
 158   ifeq ($(call check-jvm-feature, link-time-opt), false)
 159     JVM_OPTIMIZATION := SIZE
 160     OPT_SPEED_SRC := \
 161         allocation.cpp \
 162         assembler.cpp \
 163         assembler_linux_arm.cpp \
 164         barrierSet.cpp \
 165         basicLock.cpp \
 166         biasedLocking.cpp \
 167         bytecode.cpp \
 168         bytecodeInterpreter.cpp \
 169         bytecodeInterpreter_x86.cpp \
 170         c1_Compilation.cpp \
 171         c1_Compiler.cpp \
 172         c1_GraphBuilder.cpp \
 173         c1_LinearScan.cpp \
 174         c1_LIR.cpp \
 175         ciEnv.cpp \
 176         ciObjectFactory.cpp \
 177         codeBlob.cpp \
 178         constantPool.cpp \
 179         constMethod.cpp \
 180         classLoader.cpp \
 181         classLoaderData.cpp \
 182         classFileParser.cpp \
 183         classFileStream.cpp \
 184         cpCache.cpp \
 185         defNewGeneration.cpp \
 186         frame_arm.cpp \
 187         genCollectedHeap.cpp \
 188         generation.cpp \
 189         genMarkSweep.cpp \
 190         growableArray.cpp \
 191         handles.cpp \
 192         hashtable.cpp \
 193         heap.cpp \
 194         icache.cpp \
 195         icache_arm.cpp \
 196         instanceKlass.cpp \
 197         invocationCounter.cpp \
 198         iterator.cpp \
 199         javaCalls.cpp \
 200         javaClasses.cpp \
 201         jniFastGetField_arm.cpp \
 202         jvm.cpp \
 203         jvm_linux.cpp \
 204         linkResolver.cpp \
 205         klass.cpp \
 206         klassVtable.cpp \
 207         markSweep.cpp \
 208         memRegion.cpp \
 209         memoryPool.cpp \
 210         method.cpp \
 211         methodHandles.cpp \
 212         methodHandles_arm.cpp \
 213         methodLiveness.cpp \
 214         metablock.cpp \
 215         metaspace.cpp \
 216         mutex.cpp \
 217         mutex_linux.cpp \
 218         mutexLocker.cpp \
 219         nativeLookup.cpp \
 220         objArrayKlass.cpp \
 221         os_linux.cpp \
 222         os_linux_arm.cpp \
 223         placeHolders.cpp \
 224         quickSort.cpp \
 225         resourceArea.cpp \
 226         rewriter.cpp \
 227         sharedRuntime.cpp \
 228         signature.cpp \
 229         space.cpp \
 230         stackMapTable.cpp \
 231         symbolTable.cpp \
 232         systemDictionary.cpp \
 233         symbol.cpp \
 234         synchronizer.cpp \
 235         threadLS_bsd_x86.cpp \
 236         threadLS_linux_arm.cpp \
 237         threadLS_linux_x86.cpp \
 238         timer.cpp \
 239         typeArrayKlass.cpp \
 240         unsafe.cpp \
 241         utf8.cpp \
 242         vmSymbols.cpp \
 243         #
 244 
 245     $(foreach s, $(OPT_SPEED_SRC), \
 246         $(eval BUILD_LIBJVM_$s_OPTIMIZATION := HIGHEST_JVM))
 247 
 248     BUILD_LIBJVM_systemDictionary.cpp_CXXFLAGS := -fno-optimize-sibling-calls
 249   endif
 250 endif
 251 
hotspot/make/lib/JvmFeatures.gmk
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File