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