author | iignatyev |
Fri, 11 Apr 2014 18:46:35 +0400 | |
changeset 24011 | c2dc59a495eb |
parent 23472 | 35e93890ed88 |
child 24472 | e2485ae797a4 |
permissions | -rw-r--r-- |
13975
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
1 |
# |
23451
ed2b8bb28fed
8035406: Improve data structure for Code Cache remembered sets
tschatzl
parents:
22901
diff
changeset
|
2 |
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
13975
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
4 |
# |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
5 |
# This code is free software; you can redistribute it and/or modify it |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
7 |
# published by the Free Software Foundation. |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
8 |
# |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
9 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
10 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
11 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
12 |
# version 2 for more details (a copy is included in the LICENSE file that |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
13 |
# accompanied this code). |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
14 |
# |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
15 |
# You should have received a copy of the GNU General Public License version |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
16 |
# 2 along with this work; if not, write to the Free Software Foundation, |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
17 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
18 |
# |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
19 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
20 |
# or visit www.oracle.com if you need additional information or have any |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
21 |
# questions. |
18025 | 22 |
# |
13975
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
23 |
# |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
24 |
ifeq ($(INCLUDE_JVMTI), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
25 |
CXXFLAGS += -DINCLUDE_JVMTI=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
26 |
CFLAGS += -DINCLUDE_JVMTI=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
27 |
|
17837
113909c12a8e
8013461: There is a symbol AsyncGetCallTrace in libjvm.symbols that does not exist in minimal/libjvm.a when DEBUG_LEVEL == release
jprovino
parents:
17327
diff
changeset
|
28 |
Src_Files_EXCLUDE += jvmtiGetLoadedClasses.cpp jvmtiThreadState.cpp jvmtiExtensions.cpp \ |
13975
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
29 |
jvmtiImpl.cpp jvmtiManageCapabilities.cpp jvmtiRawMonitor.cpp jvmtiUtil.cpp jvmtiTrace.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
30 |
jvmtiCodeBlobEvents.cpp jvmtiEnv.cpp jvmtiRedefineClasses.cpp jvmtiEnvBase.cpp jvmtiEnvThreadState.cpp \ |
16455
1a477ccdae4d
8009904: jvmtiClassFileReconstituter.cpp needs to be excluded from the minimal jvm
jprovino
parents:
15936
diff
changeset
|
31 |
jvmtiTagMap.cpp jvmtiEventController.cpp evmCompat.cpp jvmtiEnter.xsl jvmtiExport.cpp \ |
1a477ccdae4d
8009904: jvmtiClassFileReconstituter.cpp needs to be excluded from the minimal jvm
jprovino
parents:
15936
diff
changeset
|
32 |
jvmtiClassFileReconstituter.cpp |
13975
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
33 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
34 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
35 |
ifeq ($(INCLUDE_FPROF), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
36 |
CXXFLAGS += -DINCLUDE_FPROF=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
37 |
CFLAGS += -DINCLUDE_FPROF=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
38 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
39 |
Src_Files_EXCLUDE += fprofiler.cpp |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
40 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
41 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
42 |
ifeq ($(INCLUDE_VM_STRUCTS), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
43 |
CXXFLAGS += -DINCLUDE_VM_STRUCTS=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
44 |
CFLAGS += -DINCLUDE_VM_STRUCTS=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
45 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
46 |
Src_Files_EXCLUDE += vmStructs.cpp |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
47 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
48 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
49 |
ifeq ($(INCLUDE_JNI_CHECK), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
50 |
CXXFLAGS += -DINCLUDE_JNI_CHECK=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
51 |
CFLAGS += -DINCLUDE_JNI_CHECK=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
52 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
53 |
Src_Files_EXCLUDE += jniCheck.cpp |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
54 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
55 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
56 |
ifeq ($(INCLUDE_SERVICES), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
57 |
CXXFLAGS += -DINCLUDE_SERVICES=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
58 |
CFLAGS += -DINCLUDE_SERVICES=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
59 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
60 |
Src_Files_EXCLUDE += heapDumper.cpp heapInspection.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
61 |
attachListener_linux.cpp attachListener.cpp |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
62 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
63 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
64 |
ifeq ($(INCLUDE_MANAGEMENT), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
65 |
CXXFLAGS += -DINCLUDE_MANAGEMENT=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
66 |
CFLAGS += -DINCLUDE_MANAGEMENT=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
67 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
68 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
69 |
ifeq ($(INCLUDE_CDS), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
70 |
CXXFLAGS += -DINCLUDE_CDS=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
71 |
CFLAGS += -DINCLUDE_CDS=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
72 |
|
15936
4fda1079e8a3
8008310: Some adjustments needed to minimal VM warnings and errors for unsupported command line options
jprovino
parents:
15761
diff
changeset
|
73 |
Src_Files_EXCLUDE += filemap.cpp metaspaceShared.cpp |
13975
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
74 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
75 |
|
15482
470d0b0c09f1
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
jprovino
parents:
14123
diff
changeset
|
76 |
ifeq ($(INCLUDE_ALL_GCS), false) |
470d0b0c09f1
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
jprovino
parents:
14123
diff
changeset
|
77 |
CXXFLAGS += -DINCLUDE_ALL_GCS=0 |
470d0b0c09f1
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
jprovino
parents:
14123
diff
changeset
|
78 |
CFLAGS += -DINCLUDE_ALL_GCS=0 |
13975
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
79 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
80 |
Src_Files_EXCLUDE += \ |
14123
944e56f74fba
7045397: NPG: Add freelists to class loader arenas.
jmasa
parents:
13975
diff
changeset
|
81 |
cmsAdaptiveSizePolicy.cpp cmsCollectorPolicy.cpp \ |
15761
a4f42ee045c3
8006878: Some non-existent GC source files are in the minimalVM exclude list.
jprovino
parents:
15482
diff
changeset
|
82 |
cmsGCAdaptivePolicyCounters.cpp cmsLockVerifier.cpp compactibleFreeListSpace.cpp \ |
14123
944e56f74fba
7045397: NPG: Add freelists to class loader arenas.
jmasa
parents:
13975
diff
changeset
|
83 |
concurrentMarkSweepGeneration.cpp concurrentMarkSweepThread.cpp \ |
17327
4bd0581aa231
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
johnc
parents:
16455
diff
changeset
|
84 |
freeChunk.cpp adaptiveFreeList.cpp promotionInfo.cpp vmCMSOperations.cpp \ |
4bd0581aa231
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
johnc
parents:
16455
diff
changeset
|
85 |
collectionSetChooser.cpp concurrentG1Refine.cpp concurrentG1RefineThread.cpp \ |
4bd0581aa231
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
johnc
parents:
16455
diff
changeset
|
86 |
concurrentMark.cpp concurrentMarkThread.cpp dirtyCardQueue.cpp g1AllocRegion.cpp \ |
4bd0581aa231
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
johnc
parents:
16455
diff
changeset
|
87 |
g1BlockOffsetTable.cpp g1CardCounts.cpp g1CollectedHeap.cpp g1CollectorPolicy.cpp \ |
4bd0581aa231
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
johnc
parents:
16455
diff
changeset
|
88 |
g1ErgoVerbose.cpp g1GCPhaseTimes.cpp g1HRPrinter.cpp g1HotCardCache.cpp g1Log.cpp \ |
22901
3b4e9802e94f
8027559: Decrease code size and templatizing in G1ParCopyClosure::do_oop_work
tschatzl
parents:
20083
diff
changeset
|
89 |
g1MMUTracker.cpp g1MarkSweep.cpp g1MemoryPool.cpp g1MonitoringSupport.cpp g1OopClosures.cpp \ |
23472 | 90 |
g1RemSet.cpp g1RemSetSummary.cpp g1SATBCardTableModRefBS.cpp g1StringDedup.cpp g1StringDedupStat.cpp \ |
91 |
g1StringDedupTable.cpp g1StringDedupThread.cpp g1StringDedupQueue.cpp g1_globals.cpp heapRegion.cpp \ |
|
20083
df032615dd00
7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
19974
diff
changeset
|
92 |
g1BiasedArray.cpp heapRegionRemSet.cpp heapRegionSeq.cpp heapRegionSet.cpp heapRegionSets.cpp \ |
23451
ed2b8bb28fed
8035406: Improve data structure for Code Cache remembered sets
tschatzl
parents:
22901
diff
changeset
|
93 |
ptrQueue.cpp satbQueue.cpp sparsePRT.cpp survRateGroup.cpp vm_operations_g1.cpp g1CodeCacheRemSet.cpp \ |
17327
4bd0581aa231
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
johnc
parents:
16455
diff
changeset
|
94 |
adjoiningGenerations.cpp adjoiningVirtualSpaces.cpp asPSOldGen.cpp asPSYoungGen.cpp \ |
4bd0581aa231
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
johnc
parents:
16455
diff
changeset
|
95 |
cardTableExtension.cpp gcTaskManager.cpp gcTaskThread.cpp objectStartArray.cpp \ |
4bd0581aa231
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
johnc
parents:
16455
diff
changeset
|
96 |
parallelScavengeHeap.cpp parMarkBitMap.cpp pcTasks.cpp psAdaptiveSizePolicy.cpp \ |
4bd0581aa231
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
johnc
parents:
16455
diff
changeset
|
97 |
psCompactionManager.cpp psGCAdaptivePolicyCounters.cpp psGenerationCounters.cpp \ |
4bd0581aa231
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
johnc
parents:
16455
diff
changeset
|
98 |
psMarkSweep.cpp psMarkSweepDecorator.cpp psMemoryPool.cpp psOldGen.cpp \ |
4bd0581aa231
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
johnc
parents:
16455
diff
changeset
|
99 |
psParallelCompact.cpp psPromotionLAB.cpp psPromotionManager.cpp psScavenge.cpp \ |
4bd0581aa231
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
johnc
parents:
16455
diff
changeset
|
100 |
psTasks.cpp psVirtualspace.cpp psYoungGen.cpp vmPSOperations.cpp asParNewGeneration.cpp \ |
4bd0581aa231
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
johnc
parents:
16455
diff
changeset
|
101 |
parCardTableModRefBS.cpp parGCAllocBuffer.cpp parNewGeneration.cpp mutableSpace.cpp \ |
4bd0581aa231
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
johnc
parents:
16455
diff
changeset
|
102 |
gSpaceCounters.cpp allocationStats.cpp spaceCounters.cpp gcAdaptivePolicyCounters.cpp \ |
19974
0d2f09f4643c
8024256: Minimal VM build is broken with PCH disabled
dholmes
parents:
18440
diff
changeset
|
103 |
mutableNUMASpace.cpp immutableSpace.cpp yieldingWorkGroup.cpp hSpaceCounters.cpp |
18025 | 104 |
endif |
13975
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
105 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
106 |
ifeq ($(INCLUDE_NMT), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
107 |
CXXFLAGS += -DINCLUDE_NMT=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
108 |
CFLAGS += -DINCLUDE_NMT=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
109 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
110 |
Src_Files_EXCLUDE += \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
111 |
memBaseline.cpp memPtr.cpp memRecorder.cpp memReporter.cpp memSnapshot.cpp memTrackWorker.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
112 |
memTracker.cpp nmtDCmd.cpp |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
113 |
endif |
18025 | 114 |
|
115 |
-include $(HS_ALT_MAKE)/excludeSrc.make |
|
18440 | 116 |
|
117 |
.PHONY: $(HS_ALT_MAKE)/excludeSrc.make |