make/excludeSrc.make

Print this page
rev 6853 : 8046070: Class Data Sharing clean up and refactoring
Summary: Cleaned up CDS to be more configurable, maintainable and extensible
Reviewed-by: dholmes, coleenp, acorn, mchung


  53       Src_Files_EXCLUDE += jniCheck.cpp
  54 endif
  55 
  56 ifeq ($(INCLUDE_SERVICES), false)
  57       CXXFLAGS += -DINCLUDE_SERVICES=0
  58       CFLAGS += -DINCLUDE_SERVICES=0
  59 
  60       Src_Files_EXCLUDE += heapDumper.cpp heapInspection.cpp \
  61         attachListener_linux.cpp attachListener.cpp
  62 endif
  63 
  64 ifeq ($(INCLUDE_MANAGEMENT), false)
  65       CXXFLAGS += -DINCLUDE_MANAGEMENT=0
  66       CFLAGS += -DINCLUDE_MANAGEMENT=0
  67 endif
  68 
  69 ifeq ($(INCLUDE_CDS), false)
  70       CXXFLAGS += -DINCLUDE_CDS=0
  71       CFLAGS += -DINCLUDE_CDS=0
  72 
  73       Src_Files_EXCLUDE += filemap.cpp metaspaceShared.cpp

  74 endif
  75 
  76 ifeq ($(INCLUDE_ALL_GCS), false)
  77       CXXFLAGS += -DINCLUDE_ALL_GCS=0
  78       CFLAGS += -DINCLUDE_ALL_GCS=0
  79 
  80       gc_impl := $(GAMMADIR)/src/share/vm/gc_implementation
  81       gc_exclude :=                                                     \
  82         $(notdir $(wildcard $(gc_impl)/concurrentMarkSweep/*.cpp))      \
  83         $(notdir $(wildcard $(gc_impl)/g1/*.cpp))                       \
  84         $(notdir $(wildcard $(gc_impl)/parallelScavenge/*.cpp))         \
  85         $(notdir $(wildcard $(gc_impl)/parNew/*.cpp))
  86       Src_Files_EXCLUDE += $(gc_exclude)
  87 
  88       # Exclude everything in $(gc_impl)/shared except the files listed
  89       # in $(gc_shared_keep).
  90       gc_shared_all := $(notdir $(wildcard $(gc_impl)/shared/*.cpp))
  91       gc_shared_keep :=                                                 \
  92         adaptiveSizePolicy.cpp                                          \
  93         ageTable.cpp                                                    \




  53       Src_Files_EXCLUDE += jniCheck.cpp
  54 endif
  55 
  56 ifeq ($(INCLUDE_SERVICES), false)
  57       CXXFLAGS += -DINCLUDE_SERVICES=0
  58       CFLAGS += -DINCLUDE_SERVICES=0
  59 
  60       Src_Files_EXCLUDE += heapDumper.cpp heapInspection.cpp \
  61         attachListener_linux.cpp attachListener.cpp
  62 endif
  63 
  64 ifeq ($(INCLUDE_MANAGEMENT), false)
  65       CXXFLAGS += -DINCLUDE_MANAGEMENT=0
  66       CFLAGS += -DINCLUDE_MANAGEMENT=0
  67 endif
  68 
  69 ifeq ($(INCLUDE_CDS), false)
  70       CXXFLAGS += -DINCLUDE_CDS=0
  71       CFLAGS += -DINCLUDE_CDS=0
  72 
  73       Src_Files_EXCLUDE += filemap.cpp metaspaceShared*.cpp sharedPathsMiscInfo.cpp \
  74         systemDictionaryShared.cpp classLoaderExt.cpp sharedClassUtil.cpp
  75 endif
  76 
  77 ifeq ($(INCLUDE_ALL_GCS), false)
  78       CXXFLAGS += -DINCLUDE_ALL_GCS=0
  79       CFLAGS += -DINCLUDE_ALL_GCS=0
  80 
  81       gc_impl := $(GAMMADIR)/src/share/vm/gc_implementation
  82       gc_exclude :=                                                     \
  83         $(notdir $(wildcard $(gc_impl)/concurrentMarkSweep/*.cpp))      \
  84         $(notdir $(wildcard $(gc_impl)/g1/*.cpp))                       \
  85         $(notdir $(wildcard $(gc_impl)/parallelScavenge/*.cpp))         \
  86         $(notdir $(wildcard $(gc_impl)/parNew/*.cpp))
  87       Src_Files_EXCLUDE += $(gc_exclude)
  88 
  89       # Exclude everything in $(gc_impl)/shared except the files listed
  90       # in $(gc_shared_keep).
  91       gc_shared_all := $(notdir $(wildcard $(gc_impl)/shared/*.cpp))
  92       gc_shared_keep :=                                                 \
  93         adaptiveSizePolicy.cpp                                          \
  94         ageTable.cpp                                                    \