Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/make/excludeSrc.make
32278 views
#1# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.2# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3#4# This code is free software; you can redistribute it and/or modify it5# under the terms of the GNU General Public License version 2 only, as6# published by the Free Software Foundation.7#8# This code is distributed in the hope that it will be useful, but WITHOUT9# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11# version 2 for more details (a copy is included in the LICENSE file that12# accompanied this code).13#14# You should have received a copy of the GNU General Public License version15# 2 along with this work; if not, write to the Free Software Foundation,16# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17#18# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19# or visit www.oracle.com if you need additional information or have any20# questions.21#22#2324include $(GAMMADIR)/make/altsrc.make2526ifeq ($(INCLUDE_JVMTI), false)27CXXFLAGS += -DINCLUDE_JVMTI=028CFLAGS += -DINCLUDE_JVMTI=02930Src_Files_EXCLUDE += jvmtiGetLoadedClasses.cpp jvmtiThreadState.cpp jvmtiExtensions.cpp \31jvmtiImpl.cpp jvmtiManageCapabilities.cpp jvmtiRawMonitor.cpp jvmtiUtil.cpp jvmtiTrace.cpp \32jvmtiCodeBlobEvents.cpp jvmtiEnv.cpp jvmtiRedefineClasses.cpp jvmtiEnvBase.cpp jvmtiEnvThreadState.cpp \33jvmtiTagMap.cpp jvmtiEventController.cpp evmCompat.cpp jvmtiEnter.xsl jvmtiExport.cpp \34jvmtiClassFileReconstituter.cpp35endif3637ifeq ($(INCLUDE_FPROF), false)38CXXFLAGS += -DINCLUDE_FPROF=039CFLAGS += -DINCLUDE_FPROF=04041Src_Files_EXCLUDE += fprofiler.cpp42endif4344ifeq ($(INCLUDE_VM_STRUCTS), false)45CXXFLAGS += -DINCLUDE_VM_STRUCTS=046CFLAGS += -DINCLUDE_VM_STRUCTS=04748Src_Files_EXCLUDE += vmStructs.cpp49endif5051ifeq ($(INCLUDE_JNI_CHECK), false)52CXXFLAGS += -DINCLUDE_JNI_CHECK=053CFLAGS += -DINCLUDE_JNI_CHECK=05455Src_Files_EXCLUDE += jniCheck.cpp56endif5758ifeq ($(INCLUDE_SERVICES), false)59CXXFLAGS += -DINCLUDE_SERVICES=060CFLAGS += -DINCLUDE_SERVICES=06162Src_Files_EXCLUDE += heapDumper.cpp heapInspection.cpp \63attachListener_linux.cpp attachListener.cpp64endif6566ifeq ($(INCLUDE_MANAGEMENT), false)67CXXFLAGS += -DINCLUDE_MANAGEMENT=068CFLAGS += -DINCLUDE_MANAGEMENT=069endif7071ifeq ($(INCLUDE_CDS), false)72CXXFLAGS += -DINCLUDE_CDS=073CFLAGS += -DINCLUDE_CDS=07475Src_Files_EXCLUDE += filemap.cpp metaspaceShared*.cpp sharedPathsMiscInfo.cpp \76systemDictionaryShared.cpp classLoaderExt.cpp sharedClassUtil.cpp77endif7879ifeq ($(INCLUDE_ALL_GCS), false)80CXXFLAGS += -DINCLUDE_ALL_GCS=081CFLAGS += -DINCLUDE_ALL_GCS=08283gc_impl := $(HS_COMMON_SRC)/share/vm/gc_implementation84gc_impl_alt := $(HS_ALT_SRC)/share/vm/gc_implementation85gc_subdirs := concurrentMarkSweep g1 shenandoah shenandoah/heuristics shenandoah/mode shenandoah/c1 shenandoah/c2 parallelScavenge parNew86gc_exclude := $(foreach gc,$(gc_subdirs), \87$(notdir $(wildcard $(gc_impl)/$(gc)/*.cpp)) \88$(notdir $(wildcard $(gc_impl_alt)/$(gc)/*.cpp)))89Src_Files_EXCLUDE += $(gc_exclude)9091# Exclude everything in $(gc_impl)/shared except the files listed92# in $(gc_shared_keep).93gc_shared_all := $(notdir $(wildcard $(gc_impl)/shared/*.cpp))94gc_shared_keep := \95adaptiveSizePolicy.cpp \96ageTable.cpp \97ageTableTracer.cpp \98collectorCounters.cpp \99cSpaceCounters.cpp \100gcId.cpp \101gcPolicyCounters.cpp \102gcStats.cpp \103gcTimer.cpp \104gcTrace.cpp \105gcTraceSend.cpp \106gcTraceTime.cpp \107gcUtil.cpp \108generationCounters.cpp \109markSweep.cpp \110objectCountEventSender.cpp \111spaceDecorator.cpp \112vmGCOperations.cpp113Src_Files_EXCLUDE += $(filter-out $(gc_shared_keep),$(gc_shared_all))114115# src/share/vm/services116Src_Files_EXCLUDE += \117g1MemoryPool.cpp \118shenandoahMemoryPool.cpp \119psMemoryPool.cpp120121Src_Files_EXCLUDE += \122shenandoahBarrierSetAssembler_x86.cpp \123shenandoahBarrierSetAssembler_aarch64.cpp \124shenandoahBarrierSetAssembler_ppc.cpp \125shenandoahBarrierSetAssembler_sparc.cpp \126shenandoahBarrierSetAssembler_zero.cpp127endif128129ifeq ($(INCLUDE_NMT), false)130CXXFLAGS += -DINCLUDE_NMT=0131CFLAGS += -DINCLUDE_NMT=0132133Src_Files_EXCLUDE += \134memBaseline.cpp memReporter.cpp mallocTracker.cpp virtualMemoryTracker.cpp nmtCommon.cpp \135memTracker.cpp nmtDCmd.cpp mallocSiteTable.cpp136endif137138-include $(HS_ALT_MAKE)/excludeSrc.make139140.PHONY: $(HS_ALT_MAKE)/excludeSrc.make141142143