annotate make/solaris/makefiles/defs.make @ 807:d44bdab1c03d

6843694: G1: assert(index < _vs.committed_size(),"bad index"), g1BlockOffsetTable.inline.hpp:55 Summary: For heaps larger than 32Gb, the number of heap regions overflows the data type used to hold the region index in the SparsePRT structure. Changed the region indexes, card indexes, and RSet hash table buckets to ints and added some size overflow guarantees. Reviewed-by: ysr, tonyp
author johnc
date Thu, 11 Jun 2009 17:19:33 -0700
parents d1605aabd0a1
children 23862fc517bb
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 2006-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 # The common definitions for hotspot solaris builds.
a61af66fc99e Initial load
duke
parents:
diff changeset
26 # Include the top level defs.make under make directory instead of this one.
a61af66fc99e Initial load
duke
parents:
diff changeset
27 # This file is included into make/defs.make.
a61af66fc99e Initial load
duke
parents:
diff changeset
28
a61af66fc99e Initial load
duke
parents:
diff changeset
29 # Need PLATFORM (os-arch combo names) for jdk and hotspot, plus libarch name
a61af66fc99e Initial load
duke
parents:
diff changeset
30 SLASH_JAVA ?= /java
a61af66fc99e Initial load
duke
parents:
diff changeset
31 ARCH:=$(shell uname -p)
a61af66fc99e Initial load
duke
parents:
diff changeset
32 PATH_SEP = :
a61af66fc99e Initial load
duke
parents:
diff changeset
33 ifeq ($(LP64), 1)
a61af66fc99e Initial load
duke
parents:
diff changeset
34 ARCH_DATA_MODEL=64
a61af66fc99e Initial load
duke
parents:
diff changeset
35 else
a61af66fc99e Initial load
duke
parents:
diff changeset
36 ARCH_DATA_MODEL=32
a61af66fc99e Initial load
duke
parents:
diff changeset
37 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
38
a61af66fc99e Initial load
duke
parents:
diff changeset
39 ifeq ($(ARCH),sparc)
a61af66fc99e Initial load
duke
parents:
diff changeset
40 ifeq ($(ARCH_DATA_MODEL), 64)
a61af66fc99e Initial load
duke
parents:
diff changeset
41 MAKE_ARGS += LP64=1
a61af66fc99e Initial load
duke
parents:
diff changeset
42 PLATFORM=solaris-sparcv9
a61af66fc99e Initial load
duke
parents:
diff changeset
43 VM_PLATFORM=solaris_sparcv9
a61af66fc99e Initial load
duke
parents:
diff changeset
44 else
a61af66fc99e Initial load
duke
parents:
diff changeset
45 PLATFORM=solaris-sparc
a61af66fc99e Initial load
duke
parents:
diff changeset
46 VM_PLATFORM=solaris_sparc
a61af66fc99e Initial load
duke
parents:
diff changeset
47 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
48 HS_ARCH=sparc
a61af66fc99e Initial load
duke
parents:
diff changeset
49 else
a61af66fc99e Initial load
duke
parents:
diff changeset
50 ifeq ($(ARCH_DATA_MODEL), 64)
a61af66fc99e Initial load
duke
parents:
diff changeset
51 MAKE_ARGS += LP64=1
a61af66fc99e Initial load
duke
parents:
diff changeset
52 PLATFORM=solaris-amd64
a61af66fc99e Initial load
duke
parents:
diff changeset
53 VM_PLATFORM=solaris_amd64
a61af66fc99e Initial load
duke
parents:
diff changeset
54 HS_ARCH=x86
a61af66fc99e Initial load
duke
parents:
diff changeset
55 else
a61af66fc99e Initial load
duke
parents:
diff changeset
56 PLATFORM=solaris-i586
a61af66fc99e Initial load
duke
parents:
diff changeset
57 VM_PLATFORM=solaris_i486
a61af66fc99e Initial load
duke
parents:
diff changeset
58 HS_ARCH=x86
a61af66fc99e Initial load
duke
parents:
diff changeset
59 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
60 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
61
a61af66fc99e Initial load
duke
parents:
diff changeset
62 JDK_INCLUDE_SUBDIR=solaris
a61af66fc99e Initial load
duke
parents:
diff changeset
63
a61af66fc99e Initial load
duke
parents:
diff changeset
64 # FIXUP: The subdirectory for a debug build is NOT the same on all platforms
a61af66fc99e Initial load
duke
parents:
diff changeset
65 VM_DEBUG=jvmg
a61af66fc99e Initial load
duke
parents:
diff changeset
66
a61af66fc99e Initial load
duke
parents:
diff changeset
67 EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html
a61af66fc99e Initial load
duke
parents:
diff changeset
68 EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server
a61af66fc99e Initial load
duke
parents:
diff changeset
69 EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
a61af66fc99e Initial load
duke
parents:
diff changeset
70 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjsig.so
a61af66fc99e Initial load
duke
parents:
diff changeset
71 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.so
a61af66fc99e Initial load
duke
parents:
diff changeset
72 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_db.so
a61af66fc99e Initial load
duke
parents:
diff changeset
73 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_dtrace.so
a61af66fc99e Initial load
duke
parents:
diff changeset
74 ifeq ($(ARCH_DATA_MODEL), 32)
a61af66fc99e Initial load
duke
parents:
diff changeset
75 EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client
a61af66fc99e Initial load
duke
parents:
diff changeset
76 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
a61af66fc99e Initial load
duke
parents:
diff changeset
77 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjsig.so
a61af66fc99e Initial load
duke
parents:
diff changeset
78 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.so
a61af66fc99e Initial load
duke
parents:
diff changeset
79 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_db.so
a61af66fc99e Initial load
duke
parents:
diff changeset
80 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_dtrace.so
a61af66fc99e Initial load
duke
parents:
diff changeset
81 ifeq ($(ARCH),sparc)
a61af66fc99e Initial load
duke
parents:
diff changeset
82 EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_db.so
a61af66fc99e Initial load
duke
parents:
diff changeset
83 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_db.so
a61af66fc99e Initial load
duke
parents:
diff changeset
84 EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_dtrace.so
a61af66fc99e Initial load
duke
parents:
diff changeset
85 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_dtrace.so
a61af66fc99e Initial load
duke
parents:
diff changeset
86 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
87 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
88
a61af66fc99e Initial load
duke
parents:
diff changeset
89 EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so
a61af66fc99e Initial load
duke
parents:
diff changeset
90 EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar