Mercurial > hg > graal-compiler
annotate make/windows/makefiles/makedeps.make @ 364:919e7959392a
6742641: G1: NullPointerException during GCOld
Summary: An update buffer is not processed correctly, which causes roots into the collection set not to be scanned and, hence, for the heap to be corrupted. The cause is that an object is accessed after it has been explicitly deleted, which causes a race.
Reviewed-by: jcoomes, ysr
author | tonyp |
---|---|
date | Mon, 22 Sep 2008 09:56:49 -0400 |
parents | 1ee8caae33af |
children | 520d43965b1f |
rev | line source |
---|---|
0 | 1 # |
196 | 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved. |
0 | 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # | |
5 # This code is free software; you can redistribute it and/or modify it | |
6 # under the terms of the GNU General Public License version 2 only, as | |
7 # published by the Free Software Foundation. | |
8 # | |
9 # This code is distributed in the hope that it will be useful, but WITHOUT | |
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 # version 2 for more details (a copy is included in the LICENSE file that | |
13 # accompanied this code). | |
14 # | |
15 # You should have received a copy of the GNU General Public License version | |
16 # 2 along with this work; if not, write to the Free Software Foundation, | |
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
18 # | |
19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
20 # CA 95054 USA or visit www.sun.com if you need additional information or | |
21 # have any questions. | |
22 # | |
23 # | |
24 | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
25 !include $(WorkSpace)/make/windows/makefiles/rules.make |
0 | 26 |
27 # This is used externally by both batch and IDE builds, so can't | |
28 # reference any of the HOTSPOTWORKSPACE, HOTSPOTBUILDSPACE, | |
29 # HOTSPOTRELEASEBINDEST, or HOTSPOTDEBUGBINDEST environment variables. | |
30 # | |
31 # NOTE: unfortunately the MakeDepsSources list must be kept | |
32 # synchronized between this and the Solaris version | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
33 # (make/solaris/makefiles/makedeps.make). |
0 | 34 |
35 MakeDepsSources=\ | |
36 $(WorkSpace)\src\share\tools\MakeDeps\Database.java \ | |
37 $(WorkSpace)\src\share\tools\MakeDeps\DirectoryTree.java \ | |
38 $(WorkSpace)\src\share\tools\MakeDeps\DirectoryTreeNode.java \ | |
39 $(WorkSpace)\src\share\tools\MakeDeps\FileFormatException.java \ | |
40 $(WorkSpace)\src\share\tools\MakeDeps\FileList.java \ | |
41 $(WorkSpace)\src\share\tools\MakeDeps\FileName.java \ | |
42 $(WorkSpace)\src\share\tools\MakeDeps\Macro.java \ | |
43 $(WorkSpace)\src\share\tools\MakeDeps\MacroDefinitions.java \ | |
44 $(WorkSpace)\src\share\tools\MakeDeps\MakeDeps.java \ | |
45 $(WorkSpace)\src\share\tools\MakeDeps\MetroWerksMacPlatform.java \ | |
46 $(WorkSpace)\src\share\tools\MakeDeps\Platform.java \ | |
47 $(WorkSpace)\src\share\tools\MakeDeps\UnixPlatform.java \ | |
48 $(WorkSpace)\src\share\tools\MakeDeps\WinGammaPlatform.java \ | |
49 $(WorkSpace)\src\share\tools\MakeDeps\WinGammaPlatformVC6.java \ | |
50 $(WorkSpace)\src\share\tools\MakeDeps\WinGammaPlatformVC7.java \ | |
51 $(WorkSpace)\src\share\tools\MakeDeps\Util.java \ | |
52 $(WorkSpace)\src\share\tools\MakeDeps\BuildConfig.java \ | |
53 $(WorkSpace)\src\share\tools\MakeDeps\ArgsParser.java | |
54 | |
55 # This is only used internally | |
56 MakeDepsIncludesPRIVATE=\ | |
57 -relativeInclude src\share\vm\c1 \ | |
58 -relativeInclude src\share\vm\compiler \ | |
59 -relativeInclude src\share\vm\code \ | |
60 -relativeInclude src\share\vm\interpreter \ | |
61 -relativeInclude src\share\vm\ci \ | |
62 -relativeInclude src\share\vm\classfile \ | |
63 -relativeInclude src\share\vm\gc_implementation\parallelScavenge \ | |
64 -relativeInclude src\share\vm\gc_implementation\shared \ | |
65 -relativeInclude src\share\vm\gc_implementation\parNew \ | |
66 -relativeInclude src\share\vm\gc_implementation\concurrentMarkSweep \ | |
342
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
91
diff
changeset
|
67 -relativeInclude src\share\vm\gc_implementation\g1 \ |
0 | 68 -relativeInclude src\share\vm\gc_interface \ |
69 -relativeInclude src\share\vm\asm \ | |
70 -relativeInclude src\share\vm\memory \ | |
71 -relativeInclude src\share\vm\oops \ | |
72 -relativeInclude src\share\vm\prims \ | |
73 -relativeInclude src\share\vm\runtime \ | |
74 -relativeInclude src\share\vm\services \ | |
75 -relativeInclude src\share\vm\utilities \ | |
76 -relativeInclude src\share\vm\libadt \ | |
77 -relativeInclude src\share\vm\opto \ | |
78 -relativeInclude src\os\windows\vm \ | |
79 -relativeInclude src\os_cpu\windows_$(Platform_arch)\vm \ | |
80 -relativeInclude src\cpu\$(Platform_arch)\vm | |
81 | |
82 # This is referenced externally by both the IDE and batch builds | |
83 MakeDepsOptions= | |
84 | |
85 # This is used externally, but only by the IDE builds, so we can | |
86 # reference environment variables which aren't defined in the batch | |
87 # build process. | |
88 | |
89 MakeDepsIDEOptions = \ | |
90 -useToGeneratePch java.cpp \ | |
91 -disablePch os_windows.cpp \ | |
92 -disablePch os_windows_$(Platform_arch).cpp \ | |
93 -disablePch osThread_windows.cpp \ | |
94 -disablePch bytecodeInterpreter.cpp \ | |
95 -disablePch bytecodeInterpreterWithChecks.cpp \ | |
96 -disablePch getThread_windows_$(Platform_arch).cpp \ | |
97 -disablePch_compiler2 opcodes.cpp | |
98 | |
99 # Common options for the IDE builds for core, c1, and c2 | |
100 MakeDepsIDEOptions=\ | |
101 $(MakeDepsIDEOptions) \ | |
102 -sourceBase $(HOTSPOTWORKSPACE) \ | |
103 -buildBase $(HOTSPOTBUILDSPACE)\%f\%b \ | |
104 -startAt src \ | |
105 -compiler $(VcVersion) \ | |
106 -projectFileName $(HOTSPOTBUILDSPACE)\$(ProjectFile) \ | |
107 -jdkTargetRoot $(HOTSPOTJDKDIST) \ | |
108 -define ALIGN_STACK_FRAMES \ | |
109 -define VM_LITTLE_ENDIAN \ | |
110 -additionalFile includeDB_compiler1 \ | |
111 -additionalFile includeDB_compiler2 \ | |
112 -additionalFile includeDB_core \ | |
113 -additionalFile includeDB_features \ | |
114 -additionalFile includeDB_jvmti \ | |
115 -additionalFile includeDB_gc \ | |
116 -additionalFile includeDB_gc_parallel \ | |
117 -additionalFile includeDB_gc_parallelScavenge \ | |
118 -additionalFile includeDB_gc_concurrentMarkSweep \ | |
342
37f87013dfd8
6711316: Open source the Garbage-First garbage collector
ysr
parents:
91
diff
changeset
|
119 -additionalFile includeDB_gc_g1 \ |
0 | 120 -additionalFile includeDB_gc_parNew \ |
121 -additionalFile includeDB_gc_shared \ | |
122 -additionalFile includeDB_gc_serial \ | |
123 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)\%f\%b vm.def \ | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
124 -prelink "" "Generating vm.def..." "cd $(HOTSPOTBUILDSPACE)\%f\%b $(HOTSPOTMKSHOME)\sh $(HOTSPOTWORKSPACE)\make\windows\build_vm_def.sh" \ |
0 | 125 $(MakeDepsIncludesPRIVATE) |
126 | |
127 # Add in build-specific options | |
128 !if "$(BUILDARCH)" == "i486" | |
129 MakeDepsIDEOptions=$(MakeDepsIDEOptions) -define IA32 | |
130 !endif | |
131 | |
132 ################################################## | |
133 # JKERNEL specific options | |
134 ################################################## | |
135 MakeDepsIDEOptions=$(MakeDepsIDEOptions) \ | |
136 -define_kernel KERNEL \ | |
137 | |
138 ################################################## | |
139 # Client(C1) compiler specific options | |
140 ################################################## | |
141 MakeDepsIDEOptions=$(MakeDepsIDEOptions) \ | |
142 -define_compiler1 COMPILER1 \ | |
143 | |
144 ################################################## | |
145 # Server(C2) compiler specific options | |
146 ################################################## | |
147 #NOTE! This list must be kept in sync with GENERATED_NAMES in adlc.make. | |
148 MakeDepsIDEOptions=$(MakeDepsIDEOptions) \ | |
149 -define_compiler2 COMPILER2 \ | |
150 -absoluteInclude_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls \ | |
151 -additionalFile_compiler2 $(Platform_arch_model).ad \ | |
152 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model).cpp \ | |
153 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model).hpp \ | |
154 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_clone.cpp \ | |
155 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_expand.cpp \ | |
156 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_format.cpp \ | |
157 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_gen.cpp \ | |
158 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_misc.cpp \ | |
159 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_peephole.cpp \ | |
160 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_pipeline.cpp \ | |
161 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls adGlobals_$(Platform_arch_model).hpp \ | |
162 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls dfa_$(Platform_arch_model).cpp | |
163 | |
164 # Add in the jvmti (JSR-163) options | |
165 # NOTE: do not pull in jvmtiEnvRecommended.cpp. This file is generated | |
166 # so the programmer can diff it with jvmtiEnv.cpp to be sure the | |
167 # code merge was done correctly (@see jvmti.make and jvmtiEnvFill.java). | |
168 # If so, they would then check it in as a new version of jvmtiEnv.cpp. | |
169 MakeDepsIDEOptions=$(MakeDepsIDEOptions) \ | |
170 -absoluteInclude $(HOTSPOTBUILDSPACE)/jvmtifiles \ | |
171 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnv.hpp \ | |
172 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnter.cpp \ | |
173 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnterTrace.cpp \ | |
174 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmti.h \ | |
175 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles bytecodeInterpreterWithChecks.cpp |