Mercurial > hg > truffle
comparison make/excludeSrc.make @ 20210:3a62cd59c8d8
8042255: make gc src file exclusion more automatic
Reviewed-by: brutisso, stefank, dholmes, rdurbin
author | jcoomes |
---|---|
date | Tue, 20 May 2014 10:04:03 -0700 |
parents | 595c0f60d50d |
children | 833b0f92429a |
comparison
equal
deleted
inserted
replaced
20209:c48151572b21 | 20210:3a62cd59c8d8 |
---|---|
75 | 75 |
76 ifeq ($(INCLUDE_ALL_GCS), false) | 76 ifeq ($(INCLUDE_ALL_GCS), false) |
77 CXXFLAGS += -DINCLUDE_ALL_GCS=0 | 77 CXXFLAGS += -DINCLUDE_ALL_GCS=0 |
78 CFLAGS += -DINCLUDE_ALL_GCS=0 | 78 CFLAGS += -DINCLUDE_ALL_GCS=0 |
79 | 79 |
80 Src_Files_EXCLUDE += \ | 80 gc_impl := $(GAMMADIR)/src/share/vm/gc_implementation |
81 cmsAdaptiveSizePolicy.cpp cmsCollectorPolicy.cpp \ | 81 gc_exclude := \ |
82 cmsGCAdaptivePolicyCounters.cpp cmsLockVerifier.cpp compactibleFreeListSpace.cpp \ | 82 $(notdir $(wildcard $(gc_impl)/concurrentMarkSweep/*.cpp)) \ |
83 concurrentMarkSweepGeneration.cpp concurrentMarkSweepThread.cpp \ | 83 $(notdir $(wildcard $(gc_impl)/g1/*.cpp)) \ |
84 freeChunk.cpp adaptiveFreeList.cpp promotionInfo.cpp vmCMSOperations.cpp \ | 84 $(notdir $(wildcard $(gc_impl)/parallelScavenge/*.cpp)) \ |
85 collectionSetChooser.cpp concurrentG1Refine.cpp concurrentG1RefineThread.cpp \ | 85 $(notdir $(wildcard $(gc_impl)/parNew/*.cpp)) |
86 concurrentMark.cpp concurrentMarkThread.cpp dirtyCardQueue.cpp g1AllocRegion.cpp \ | 86 Src_Files_EXCLUDE += $(gc_exclude) |
87 g1BlockOffsetTable.cpp g1CardCounts.cpp g1CollectedHeap.cpp g1CollectorPolicy.cpp \ | 87 |
88 g1ErgoVerbose.cpp g1GCPhaseTimes.cpp g1HRPrinter.cpp g1HotCardCache.cpp g1Log.cpp \ | 88 # Exclude everything in $(gc_impl)/shared except the files listed |
89 g1MMUTracker.cpp g1MarkSweep.cpp g1MemoryPool.cpp g1MonitoringSupport.cpp g1OopClosures.cpp \ | 89 # in $(gc_shared_keep). |
90 g1RemSet.cpp g1RemSetSummary.cpp g1SATBCardTableModRefBS.cpp g1StringDedup.cpp g1StringDedupStat.cpp \ | 90 gc_shared_all := $(notdir $(wildcard $(gc_impl)/shared/*.cpp)) |
91 g1StringDedupTable.cpp g1StringDedupThread.cpp g1StringDedupQueue.cpp g1_globals.cpp heapRegion.cpp \ | 91 gc_shared_keep := \ |
92 g1BiasedArray.cpp heapRegionRemSet.cpp heapRegionSeq.cpp heapRegionSet.cpp heapRegionSets.cpp \ | 92 adaptiveSizePolicy.cpp \ |
93 ptrQueue.cpp satbQueue.cpp sparsePRT.cpp survRateGroup.cpp vm_operations_g1.cpp g1CodeCacheRemSet.cpp \ | 93 ageTable.cpp \ |
94 adjoiningGenerations.cpp adjoiningVirtualSpaces.cpp asPSOldGen.cpp asPSYoungGen.cpp \ | 94 collectorCounters.cpp \ |
95 cardTableExtension.cpp gcTaskManager.cpp gcTaskThread.cpp objectStartArray.cpp \ | 95 cSpaceCounters.cpp \ |
96 parallelScavengeHeap.cpp parMarkBitMap.cpp pcTasks.cpp psAdaptiveSizePolicy.cpp \ | 96 gcPolicyCounters.cpp \ |
97 psCompactionManager.cpp psGCAdaptivePolicyCounters.cpp psGenerationCounters.cpp \ | 97 gcStats.cpp \ |
98 psMarkSweep.cpp psMarkSweepDecorator.cpp psMemoryPool.cpp psOldGen.cpp \ | 98 gcTimer.cpp \ |
99 psParallelCompact.cpp psPromotionLAB.cpp psPromotionManager.cpp psScavenge.cpp \ | 99 gcTrace.cpp \ |
100 psTasks.cpp psVirtualspace.cpp psYoungGen.cpp vmPSOperations.cpp asParNewGeneration.cpp \ | 100 gcTraceSend.cpp \ |
101 parCardTableModRefBS.cpp parGCAllocBuffer.cpp parNewGeneration.cpp mutableSpace.cpp \ | 101 gcTraceTime.cpp \ |
102 gSpaceCounters.cpp allocationStats.cpp spaceCounters.cpp gcAdaptivePolicyCounters.cpp \ | 102 gcUtil.cpp \ |
103 mutableNUMASpace.cpp immutableSpace.cpp yieldingWorkGroup.cpp hSpaceCounters.cpp | 103 generationCounters.cpp \ |
104 markSweep.cpp \ | |
105 objectCountEventSender.cpp \ | |
106 spaceDecorator.cpp \ | |
107 vmGCOperations.cpp | |
108 Src_Files_EXCLUDE += $(filter-out $(gc_shared_keep),$(gc_shared_all)) | |
109 | |
110 # src/share/vm/services | |
111 Src_Files_EXCLUDE += \ | |
112 g1MemoryPool.cpp \ | |
113 psMemoryPool.cpp | |
104 endif | 114 endif |
105 | 115 |
106 ifeq ($(INCLUDE_NMT), false) | 116 ifeq ($(INCLUDE_NMT), false) |
107 CXXFLAGS += -DINCLUDE_NMT=0 | 117 CXXFLAGS += -DINCLUDE_NMT=0 |
108 CFLAGS += -DINCLUDE_NMT=0 | 118 CFLAGS += -DINCLUDE_NMT=0 |