30 # jvm features are selected for this jvm variant. 31 32 ifeq ($(call check-jvm-feature, compiler1), true) 33 JVM_CFLAGS_FEATURES += -DCOMPILER1 34 else 35 JVM_EXCLUDE_PATTERNS += c1_ c1/ 36 endif 37 38 ifeq ($(call check-jvm-feature, compiler2), true) 39 JVM_CFLAGS_FEATURES += -DCOMPILER2 40 JVM_SRC_DIRS += $(JVM_VARIANT_OUTPUTDIR)/gensrc/adfiles 41 else 42 JVM_EXCLUDES += opto libadt 43 JVM_EXCLUDE_FILES += bcEscapeAnalyzer.cpp ciTypeFlow.cpp 44 JVM_EXCLUDE_PATTERNS += c2_ runtime_ /c2/ 45 endif 46 47 ifeq ($(call check-jvm-feature, zero), true) 48 JVM_CFLAGS_FEATURES += -DZERO -DCC_INTERP -DZERO_LIBARCH='"$(OPENJDK_TARGET_CPU_LEGACY_LIB)"' $(LIBFFI_CFLAGS) 49 JVM_LIBS_FEATURES += $(LIBFFI_LIBS) 50 ifeq ($(OPENJDK_TARGET_CPU), sparcv9) 51 BUILD_LIBJVM_EXTRA_FILES := $(TOPDIR)/src/hotspot/cpu/sparc/memset_with_concurrent_readers_sparc.cpp 52 endif 53 endif 54 55 ifeq ($(call check-jvm-feature, minimal), true) 56 JVM_CFLAGS_FEATURES += -DMINIMAL_JVM -DVMTYPE=\"Minimal\" 57 ifeq ($(OPENJDK_TARGET_OS), linux) 58 # Override the default -g with a more liberal strip policy for the minimal JVM 59 JVM_STRIPFLAGS := --strip-unneeded 60 endif 61 endif 62 63 ifeq ($(call check-jvm-feature, dtrace), true) 64 JVM_CFLAGS_FEATURES += -DDTRACE_ENABLED 65 endif 66 67 ifeq ($(call check-jvm-feature, static-build), true) 68 JVM_CFLAGS_FEATURES += -DSTATIC_BUILD=1 69 endif 70 71 ifneq ($(call check-jvm-feature, jvmti), true) 72 JVM_CFLAGS_FEATURES += -DINCLUDE_JVMTI=0 73 JVM_EXCLUDE_FILES += jvmtiGetLoadedClasses.cpp jvmtiThreadState.cpp jvmtiExtensions.cpp \ 74 jvmtiImpl.cpp jvmtiManageCapabilities.cpp jvmtiRawMonitor.cpp jvmtiUtil.cpp jvmtiTrace.cpp \ 75 jvmtiCodeBlobEvents.cpp jvmtiEnv.cpp jvmtiRedefineClasses.cpp jvmtiEnvBase.cpp jvmtiEnvThreadState.cpp \ 76 jvmtiTagMap.cpp jvmtiEventController.cpp evmCompat.cpp jvmtiEnter.xsl jvmtiExport.cpp \ 77 jvmtiClassFileReconstituter.cpp | 30 # jvm features are selected for this jvm variant. 31 32 ifeq ($(call check-jvm-feature, compiler1), true) 33 JVM_CFLAGS_FEATURES += -DCOMPILER1 34 else 35 JVM_EXCLUDE_PATTERNS += c1_ c1/ 36 endif 37 38 ifeq ($(call check-jvm-feature, compiler2), true) 39 JVM_CFLAGS_FEATURES += -DCOMPILER2 40 JVM_SRC_DIRS += $(JVM_VARIANT_OUTPUTDIR)/gensrc/adfiles 41 else 42 JVM_EXCLUDES += opto libadt 43 JVM_EXCLUDE_FILES += bcEscapeAnalyzer.cpp ciTypeFlow.cpp 44 JVM_EXCLUDE_PATTERNS += c2_ runtime_ /c2/ 45 endif 46 47 ifeq ($(call check-jvm-feature, zero), true) 48 JVM_CFLAGS_FEATURES += -DZERO -DCC_INTERP -DZERO_LIBARCH='"$(OPENJDK_TARGET_CPU_LEGACY_LIB)"' $(LIBFFI_CFLAGS) 49 JVM_LIBS_FEATURES += $(LIBFFI_LIBS) 50 ifeq ($(call isTargetCpu, sparcv9), true) 51 BUILD_LIBJVM_EXTRA_FILES := $(TOPDIR)/src/hotspot/cpu/sparc/memset_with_concurrent_readers_sparc.cpp 52 endif 53 endif 54 55 ifeq ($(call check-jvm-feature, minimal), true) 56 JVM_CFLAGS_FEATURES += -DMINIMAL_JVM -DVMTYPE=\"Minimal\" 57 ifeq ($(call isTargetOs, linux), true) 58 # Override the default -g with a more liberal strip policy for the minimal JVM 59 JVM_STRIPFLAGS := --strip-unneeded 60 endif 61 endif 62 63 ifeq ($(call check-jvm-feature, dtrace), true) 64 JVM_CFLAGS_FEATURES += -DDTRACE_ENABLED 65 endif 66 67 ifeq ($(call check-jvm-feature, static-build), true) 68 JVM_CFLAGS_FEATURES += -DSTATIC_BUILD=1 69 endif 70 71 ifneq ($(call check-jvm-feature, jvmti), true) 72 JVM_CFLAGS_FEATURES += -DINCLUDE_JVMTI=0 73 JVM_EXCLUDE_FILES += jvmtiGetLoadedClasses.cpp jvmtiThreadState.cpp jvmtiExtensions.cpp \ 74 jvmtiImpl.cpp jvmtiManageCapabilities.cpp jvmtiRawMonitor.cpp jvmtiUtil.cpp jvmtiTrace.cpp \ 75 jvmtiCodeBlobEvents.cpp jvmtiEnv.cpp jvmtiRedefineClasses.cpp jvmtiEnvBase.cpp jvmtiEnvThreadState.cpp \ 76 jvmtiTagMap.cpp jvmtiEventController.cpp evmCompat.cpp jvmtiEnter.xsl jvmtiExport.cpp \ 77 jvmtiClassFileReconstituter.cpp |