annotate make/windows/makefiles/generated.make @ 1091:6aa7255741f3

6906727: UseCompressedOops: some card-marking fixes related to object arrays Summary: Introduced a new write_ref_array(HeapWords* start, size_t count) method that does the requisite MemRegion range calculation so (some of the) clients of the erstwhile write_ref_array(MemRegion mr) do not need to worry. This removed all external uses of array_size(), which was also simplified and made private. Asserts were added to catch other possible issues. Further, less essential, fixes stemming from this investigation are deferred to CR 6904516 (to follow shortly in hs17). Reviewed-by: kvn, coleenp, jmasa
author ysr
date Thu, 03 Dec 2009 15:01:57 -0800
parents 0fc81f0a8ca8
children c18cbe5936b8
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 2005-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
a61af66fc99e Initial load
duke
parents:
diff changeset
25 !include ../local.make
91
a294fd0c4b38 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 0
diff changeset
26 !include $(WorkSpace)/make/windows/makefiles/makedeps.make
0
a61af66fc99e Initial load
duke
parents:
diff changeset
27 !include local.make
a61af66fc99e Initial load
duke
parents:
diff changeset
28
a61af66fc99e Initial load
duke
parents:
diff changeset
29 # Pick up rules for building JVMTI (JSR-163)
a61af66fc99e Initial load
duke
parents:
diff changeset
30 JvmtiOutDir=jvmtifiles
91
a294fd0c4b38 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 0
diff changeset
31 !include $(WorkSpace)/make/windows/makefiles/jvmti.make
0
a61af66fc99e Initial load
duke
parents:
diff changeset
32
a61af66fc99e Initial load
duke
parents:
diff changeset
33 # Pick up rules for building SA
91
a294fd0c4b38 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 0
diff changeset
34 !include $(WorkSpace)/make/windows/makefiles/sa.make
0
a61af66fc99e Initial load
duke
parents:
diff changeset
35
a61af66fc99e Initial load
duke
parents:
diff changeset
36 !if ("$(Variant)" == "compiler2") || ("$(Variant)" == "tiered")
a61af66fc99e Initial load
duke
parents:
diff changeset
37 default:: includeDB.current Dependencies incls/ad_$(Platform_arch_model).cpp incls/dfa_$(Platform_arch_model).cpp $(JvmtiGeneratedFiles)
a61af66fc99e Initial load
duke
parents:
diff changeset
38 !else
a61af66fc99e Initial load
duke
parents:
diff changeset
39 default:: includeDB.current Dependencies $(JvmtiGeneratedFiles)
a61af66fc99e Initial load
duke
parents:
diff changeset
40 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
41
a61af66fc99e Initial load
duke
parents:
diff changeset
42 # core plus serial gc
a61af66fc99e Initial load
duke
parents:
diff changeset
43 IncludeDBs_base=$(WorkSpace)/src/share/vm/includeDB_core \
a61af66fc99e Initial load
duke
parents:
diff changeset
44 $(WorkSpace)/src/share/vm/includeDB_jvmti \
a61af66fc99e Initial load
duke
parents:
diff changeset
45 $(WorkSpace)/src/share/vm/includeDB_gc \
a61af66fc99e Initial load
duke
parents:
diff changeset
46 $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_serial
a61af66fc99e Initial load
duke
parents:
diff changeset
47
a61af66fc99e Initial load
duke
parents:
diff changeset
48 # parallel gc
a61af66fc99e Initial load
duke
parents:
diff changeset
49 IncludeDBs_gc= $(WorkSpace)/src/share/vm/includeDB_gc_parallel \
a61af66fc99e Initial load
duke
parents:
diff changeset
50 $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge \
a61af66fc99e Initial load
duke
parents:
diff changeset
51 $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_shared \
a61af66fc99e Initial load
duke
parents:
diff changeset
52 $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_parNew \
342
37f87013dfd8 6711316: Open source the Garbage-First garbage collector
ysr
parents: 91
diff changeset
53 $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep \
37f87013dfd8 6711316: Open source the Garbage-First garbage collector
ysr
parents: 91
diff changeset
54 $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_g1
0
a61af66fc99e Initial load
duke
parents:
diff changeset
55
a61af66fc99e Initial load
duke
parents:
diff changeset
56 IncludeDBs_core=$(IncludeDBs_base) $(IncludeDBs_gc) \
a61af66fc99e Initial load
duke
parents:
diff changeset
57 $(WorkSpace)/src/share/vm/includeDB_features
a61af66fc99e Initial load
duke
parents:
diff changeset
58
a61af66fc99e Initial load
duke
parents:
diff changeset
59 !if "$(Variant)" == "core"
a61af66fc99e Initial load
duke
parents:
diff changeset
60 IncludeDBs=$(IncludeDBs_core)
a61af66fc99e Initial load
duke
parents:
diff changeset
61 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
62
a61af66fc99e Initial load
duke
parents:
diff changeset
63 !if "$(Variant)" == "kernel"
a61af66fc99e Initial load
duke
parents:
diff changeset
64 IncludeDBs=$(IncludeDBs_base) $(WorkSpace)/src/share/vm/includeDB_compiler1
a61af66fc99e Initial load
duke
parents:
diff changeset
65 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
66
a61af66fc99e Initial load
duke
parents:
diff changeset
67 !if "$(Variant)" == "compiler1"
a61af66fc99e Initial load
duke
parents:
diff changeset
68 IncludeDBs=$(IncludeDBs_core) $(WorkSpace)/src/share/vm/includeDB_compiler1
a61af66fc99e Initial load
duke
parents:
diff changeset
69 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
70
a61af66fc99e Initial load
duke
parents:
diff changeset
71
a61af66fc99e Initial load
duke
parents:
diff changeset
72 !if "$(Variant)" == "compiler2"
a61af66fc99e Initial load
duke
parents:
diff changeset
73 IncludeDBs=$(IncludeDBs_core) $(WorkSpace)/src/share/vm/includeDB_compiler2
a61af66fc99e Initial load
duke
parents:
diff changeset
74 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
75
a61af66fc99e Initial load
duke
parents:
diff changeset
76 !if "$(Variant)" == "tiered"
a61af66fc99e Initial load
duke
parents:
diff changeset
77 IncludeDBs=$(IncludeDBs_core) $(WorkSpace)/src/share/vm/includeDB_compiler1 \
a61af66fc99e Initial load
duke
parents:
diff changeset
78 $(WorkSpace)/src/share/vm/includeDB_compiler2
a61af66fc99e Initial load
duke
parents:
diff changeset
79 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
80
a61af66fc99e Initial load
duke
parents:
diff changeset
81 # Note we don't generate a Visual C++ project file using MakeDeps for
a61af66fc99e Initial load
duke
parents:
diff changeset
82 # the batch build.
a61af66fc99e Initial load
duke
parents:
diff changeset
83 includeDB.current Dependencies: classes/MakeDeps.class $(IncludeDBs)
a61af66fc99e Initial load
duke
parents:
diff changeset
84 cat $(IncludeDBs) > includeDB
a61af66fc99e Initial load
duke
parents:
diff changeset
85 if exist incls rmdir /s /q incls
a61af66fc99e Initial load
duke
parents:
diff changeset
86 mkdir incls
91
a294fd0c4b38 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 0
diff changeset
87 $(RUN_JAVA) -Djava.class.path=classes MakeDeps WinGammaPlatform$(VcVersion) $(WorkSpace)/make/windows/platform_$(BUILDARCH) includeDB $(MakeDepsOptions)
0
a61af66fc99e Initial load
duke
parents:
diff changeset
88 rm -f includeDB.current
a61af66fc99e Initial load
duke
parents:
diff changeset
89 cp includeDB includeDB.current
a61af66fc99e Initial load
duke
parents:
diff changeset
90
a61af66fc99e Initial load
duke
parents:
diff changeset
91 classes/MakeDeps.class: $(MakeDepsSources)
a61af66fc99e Initial load
duke
parents:
diff changeset
92 if exist classes rmdir /s /q classes
a61af66fc99e Initial load
duke
parents:
diff changeset
93 mkdir classes
971
0fc81f0a8ca8 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk
andrew
parents: 356
diff changeset
94 $(COMPILE_JAVAC) -classpath $(WorkSpace)\src\share\tools\MakeDeps -d classes $(MakeDepsSources)
0
a61af66fc99e Initial load
duke
parents:
diff changeset
95
a61af66fc99e Initial load
duke
parents:
diff changeset
96 !if ("$(Variant)" == "compiler2") || ("$(Variant)" == "tiered")
a61af66fc99e Initial load
duke
parents:
diff changeset
97
91
a294fd0c4b38 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 0
diff changeset
98 !include $(WorkSpace)/make/windows/makefiles/adlc.make
0
a61af66fc99e Initial load
duke
parents:
diff changeset
99
a61af66fc99e Initial load
duke
parents:
diff changeset
100 !endif
a61af66fc99e Initial load
duke
parents:
diff changeset
101
91
a294fd0c4b38 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 0
diff changeset
102 !include $(WorkSpace)/make/windows/makefiles/shared.make