Mercurial > hg > graal-jvmci-8
annotate make/excludeSrc.make @ 20338:8d5f66b42c53
8055525: Bigapp weblogic+medrec fails to startup after JDK-8038423
Summary: If large pages are enabled and configured in Linux, the VM always pre-commits the entire space. The VM fails verification of the commit of the initial heap because some internal data structure marked all memory pages of the heap as committed during initialization. This makes the code think that we attempted a double-commit during first allocation of the heap. Remove the initial marking of memory pages of the heap to committed.
Reviewed-by: mgerdin
author | tschatzl |
---|---|
date | Wed, 20 Aug 2014 14:34:40 +0200 |
parents | 3a62cd59c8d8 |
children | 833b0f92429a |
rev | line source |
---|---|
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
1 # |
17753
191174b49bec
8035406: Improve data structure for Code Cache remembered sets
tschatzl
parents:
17687
diff
changeset
|
2 # Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
6854
fb19af007ffc
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. |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
4 # |
fb19af007ffc
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 |
fb19af007ffc
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 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
7 # published by the Free Software Foundation. |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
8 # |
fb19af007ffc
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 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
fb19af007ffc
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 |
fb19af007ffc
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 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
13 # accompanied this code). |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
14 # |
fb19af007ffc
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 |
fb19af007ffc
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, |
fb19af007ffc
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. |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
18 # |
fb19af007ffc
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 |
fb19af007ffc
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 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
21 # questions. |
10405 | 22 # |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
23 # |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
24 ifeq ($(INCLUDE_JVMTI), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
25 CXXFLAGS += -DINCLUDE_JVMTI=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
26 CFLAGS += -DINCLUDE_JVMTI=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
27 |
10354
dcb062bea05b
8013461: There is a symbol AsyncGetCallTrace in libjvm.symbols that does not exist in minimal/libjvm.a when DEBUG_LEVEL == release
jprovino
parents:
10246
diff
changeset
|
28 Src_Files_EXCLUDE += jvmtiGetLoadedClasses.cpp jvmtiThreadState.cpp jvmtiExtensions.cpp \ |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
29 jvmtiImpl.cpp jvmtiManageCapabilities.cpp jvmtiRawMonitor.cpp jvmtiUtil.cpp jvmtiTrace.cpp \ |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
30 jvmtiCodeBlobEvents.cpp jvmtiEnv.cpp jvmtiRedefineClasses.cpp jvmtiEnvBase.cpp jvmtiEnvThreadState.cpp \ |
8829
728b89404e34
8009904: jvmtiClassFileReconstituter.cpp needs to be excluded from the minimal jvm
jprovino
parents:
8720
diff
changeset
|
31 jvmtiTagMap.cpp jvmtiEventController.cpp evmCompat.cpp jvmtiEnter.xsl jvmtiExport.cpp \ |
728b89404e34
8009904: jvmtiClassFileReconstituter.cpp needs to be excluded from the minimal jvm
jprovino
parents:
8720
diff
changeset
|
32 jvmtiClassFileReconstituter.cpp |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
33 endif |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
34 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
35 ifeq ($(INCLUDE_FPROF), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
36 CXXFLAGS += -DINCLUDE_FPROF=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
37 CFLAGS += -DINCLUDE_FPROF=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
38 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
39 Src_Files_EXCLUDE += fprofiler.cpp |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
40 endif |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
41 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
42 ifeq ($(INCLUDE_VM_STRUCTS), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
43 CXXFLAGS += -DINCLUDE_VM_STRUCTS=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
44 CFLAGS += -DINCLUDE_VM_STRUCTS=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
45 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
46 Src_Files_EXCLUDE += vmStructs.cpp |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
47 endif |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
48 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
49 ifeq ($(INCLUDE_JNI_CHECK), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
50 CXXFLAGS += -DINCLUDE_JNI_CHECK=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
51 CFLAGS += -DINCLUDE_JNI_CHECK=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
52 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
53 Src_Files_EXCLUDE += jniCheck.cpp |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
54 endif |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
55 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
56 ifeq ($(INCLUDE_SERVICES), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
57 CXXFLAGS += -DINCLUDE_SERVICES=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
58 CFLAGS += -DINCLUDE_SERVICES=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
59 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
60 Src_Files_EXCLUDE += heapDumper.cpp heapInspection.cpp \ |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
61 attachListener_linux.cpp attachListener.cpp |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
62 endif |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
63 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
64 ifeq ($(INCLUDE_MANAGEMENT), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
65 CXXFLAGS += -DINCLUDE_MANAGEMENT=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
66 CFLAGS += -DINCLUDE_MANAGEMENT=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
67 endif |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
68 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
69 ifeq ($(INCLUDE_CDS), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
70 CXXFLAGS += -DINCLUDE_CDS=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
71 CFLAGS += -DINCLUDE_CDS=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
72 |
8720
fad90b102190
8008310: Some adjustments needed to minimal VM warnings and errors for unsupported command line options
jprovino
parents:
8085
diff
changeset
|
73 Src_Files_EXCLUDE += filemap.cpp metaspaceShared.cpp |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
74 endif |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
75 |
8001
db9981fd3124
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
jprovino
parents:
6885
diff
changeset
|
76 ifeq ($(INCLUDE_ALL_GCS), false) |
db9981fd3124
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
jprovino
parents:
6885
diff
changeset
|
77 CXXFLAGS += -DINCLUDE_ALL_GCS=0 |
db9981fd3124
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
jprovino
parents:
6885
diff
changeset
|
78 CFLAGS += -DINCLUDE_ALL_GCS=0 |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
79 |
20210
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
80 gc_impl := $(GAMMADIR)/src/share/vm/gc_implementation |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
81 gc_exclude := \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
82 $(notdir $(wildcard $(gc_impl)/concurrentMarkSweep/*.cpp)) \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
83 $(notdir $(wildcard $(gc_impl)/g1/*.cpp)) \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
84 $(notdir $(wildcard $(gc_impl)/parallelScavenge/*.cpp)) \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
85 $(notdir $(wildcard $(gc_impl)/parNew/*.cpp)) |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
86 Src_Files_EXCLUDE += $(gc_exclude) |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
87 |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
88 # Exclude everything in $(gc_impl)/shared except the files listed |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
89 # in $(gc_shared_keep). |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
90 gc_shared_all := $(notdir $(wildcard $(gc_impl)/shared/*.cpp)) |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
91 gc_shared_keep := \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
92 adaptiveSizePolicy.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
93 ageTable.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
94 collectorCounters.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
95 cSpaceCounters.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
96 gcPolicyCounters.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
97 gcStats.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
98 gcTimer.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
99 gcTrace.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
100 gcTraceSend.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
101 gcTraceTime.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
102 gcUtil.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
103 generationCounters.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
104 markSweep.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
105 objectCountEventSender.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
106 spaceDecorator.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
107 vmGCOperations.cpp |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
108 Src_Files_EXCLUDE += $(filter-out $(gc_shared_keep),$(gc_shared_all)) |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
109 |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
110 # src/share/vm/services |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
111 Src_Files_EXCLUDE += \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
112 g1MemoryPool.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
113 psMemoryPool.cpp |
10405 | 114 endif |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
115 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
116 ifeq ($(INCLUDE_NMT), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
117 CXXFLAGS += -DINCLUDE_NMT=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
118 CFLAGS += -DINCLUDE_NMT=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
119 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
120 Src_Files_EXCLUDE += \ |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
121 memBaseline.cpp memPtr.cpp memRecorder.cpp memReporter.cpp memSnapshot.cpp memTrackWorker.cpp \ |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
122 memTracker.cpp nmtDCmd.cpp |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
123 endif |
10405 | 124 |
125 -include $(HS_ALT_MAKE)/excludeSrc.make | |
11035 | 126 |
127 .PHONY: $(HS_ALT_MAKE)/excludeSrc.make |