116 sharedPathsMiscInfo.cpp \ |
116 sharedPathsMiscInfo.cpp \ |
117 systemDictionaryShared.cpp \ |
117 systemDictionaryShared.cpp \ |
118 # |
118 # |
119 endif |
119 endif |
120 |
120 |
121 ifneq ($(call check-jvm-feature, all-gcs), true) |
|
122 JVM_CFLAGS_FEATURES += -DINCLUDE_ALL_GCS=0 |
|
123 JVM_EXCLUDE_PATTERNS += \ |
|
124 cms/ g1/ parallel/ |
|
125 JVM_EXCLUDE_FILES += \ |
|
126 concurrentGCThread.cpp \ |
|
127 suspendibleThreadSet.cpp \ |
|
128 plab.cpp |
|
129 JVM_EXCLUDE_FILES += \ |
|
130 g1MemoryPool.cpp \ |
|
131 psMemoryPool.cpp |
|
132 endif |
|
133 |
|
134 ifneq ($(call check-jvm-feature, nmt), true) |
121 ifneq ($(call check-jvm-feature, nmt), true) |
135 JVM_CFLAGS_FEATURES += -DINCLUDE_NMT=0 |
122 JVM_CFLAGS_FEATURES += -DINCLUDE_NMT=0 |
136 JVM_EXCLUDE_FILES += \ |
123 JVM_EXCLUDE_FILES += \ |
137 memBaseline.cpp memReporter.cpp mallocTracker.cpp virtualMemoryTracker.cpp nmtCommon.cpp \ |
124 memBaseline.cpp memReporter.cpp mallocTracker.cpp virtualMemoryTracker.cpp nmtCommon.cpp \ |
138 memTracker.cpp nmtDCmd.cpp mallocSiteTable.cpp |
125 memTracker.cpp nmtDCmd.cpp mallocSiteTable.cpp |
141 ifneq ($(call check-jvm-feature, aot), true) |
128 ifneq ($(call check-jvm-feature, aot), true) |
142 JVM_CFLAGS_FEATURES += -DINCLUDE_AOT=0 |
129 JVM_CFLAGS_FEATURES += -DINCLUDE_AOT=0 |
143 JVM_EXCLUDE_FILES += \ |
130 JVM_EXCLUDE_FILES += \ |
144 compiledIC_aot_x86_64.cpp compilerRuntime.cpp \ |
131 compiledIC_aot_x86_64.cpp compilerRuntime.cpp \ |
145 aotCodeHeap.cpp aotCompiledMethod.cpp aotLoader.cpp compiledIC_aot.cpp |
132 aotCodeHeap.cpp aotCompiledMethod.cpp aotLoader.cpp compiledIC_aot.cpp |
|
133 endif |
|
134 |
|
135 ifneq ($(call check-jvm-feature, cmsgc), true) |
|
136 JVM_CFLAGS_FEATURES += -DINCLUDE_CMSGC=0 |
|
137 JVM_EXCLUDE_PATTERNS += gc/cms |
|
138 endif |
|
139 |
|
140 ifneq ($(call check-jvm-feature, g1gc), true) |
|
141 JVM_CFLAGS_FEATURES += -DINCLUDE_G1GC=0 |
|
142 JVM_EXCLUDE_PATTERNS += gc/g1 |
|
143 endif |
|
144 |
|
145 ifneq ($(call check-jvm-feature, parallelgc), true) |
|
146 JVM_CFLAGS_FEATURES += -DINCLUDE_PARALLELGC=0 |
|
147 JVM_EXCLUDE_PATTERNS += gc/parallel |
|
148 endif |
|
149 |
|
150 ifneq ($(call check-jvm-feature, serialgc), true) |
|
151 JVM_CFLAGS_FEATURES += -DINCLUDE_SERIALGC=0 |
|
152 JVM_EXCLUDE_PATTERNS += gc/serial |
|
153 # If serial is disabled, we cannot use serial as OldGC in parallel |
|
154 JVM_EXCLUDE_FILES += psMarkSweep.cpp psMarkSweepDecorator.cpp |
146 endif |
155 endif |
147 ################################################################################ |
156 ################################################################################ |
148 |
157 |
149 ifeq ($(call check-jvm-feature, link-time-opt), true) |
158 ifeq ($(call check-jvm-feature, link-time-opt), true) |
150 # NOTE: Disable automatic opimization level and let the explicit cflag control |
159 # NOTE: Disable automatic opimization level and let the explicit cflag control |