1 /*
2 * Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.
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 *
128 template(reflect_MagicAccessorImpl_klass, sun_reflect_MagicAccessorImpl, Opt) \
129 template(reflect_MethodAccessorImpl_klass, sun_reflect_MethodAccessorImpl, Opt_Only_JDK14NewRef) \
130 template(reflect_ConstructorAccessorImpl_klass, sun_reflect_ConstructorAccessorImpl, Opt_Only_JDK14NewRef) \
131 template(reflect_DelegatingClassLoader_klass, sun_reflect_DelegatingClassLoader, Opt) \
132 template(reflect_ConstantPool_klass, sun_reflect_ConstantPool, Opt_Only_JDK15) \
133 template(reflect_UnsafeStaticFieldAccessorImpl_klass, sun_reflect_UnsafeStaticFieldAccessorImpl, Opt_Only_JDK15) \
134 \
135 /* support for dynamic typing; it's OK if these are NULL in earlier JDKs */ \
136 template(MethodHandle_klass, java_dyn_MethodHandle, Opt) \
137 template(MemberName_klass, sun_dyn_MemberName, Opt) \
138 template(MethodHandleImpl_klass, sun_dyn_MethodHandleImpl, Opt) \
139 template(AdapterMethodHandle_klass, sun_dyn_AdapterMethodHandle, Opt) \
140 template(BoundMethodHandle_klass, sun_dyn_BoundMethodHandle, Opt) \
141 template(DirectMethodHandle_klass, sun_dyn_DirectMethodHandle, Opt) \
142 template(MethodType_klass, java_dyn_MethodType, Opt) \
143 template(MethodTypeForm_klass, java_dyn_MethodTypeForm, Opt) \
144 template(WrongMethodTypeException_klass, java_dyn_WrongMethodTypeException, Opt) \
145 template(Linkage_klass, java_dyn_Linkage, Opt) \
146 template(CallSite_klass, java_dyn_CallSite, Opt) \
147 template(InvokeDynamic_klass, java_dyn_InvokeDynamic, Opt) \
148 /* Note: MethodHandle must be first, and Dynamic last in group */ \
149 \
150 template(StringBuffer_klass, java_lang_StringBuffer, Pre) \
151 template(StringBuilder_klass, java_lang_StringBuilder, Pre) \
152 \
153 /* It's NULL in non-1.4 JDKs. */ \
154 template(StackTraceElement_klass, java_lang_StackTraceElement, Opt) \
155 /* Universe::is_gte_jdk14x_version() is not set up by this point. */ \
156 /* It's okay if this turns out to be NULL in non-1.4 JDKs. */ \
157 template(java_nio_Buffer_klass, java_nio_Buffer, Opt) \
158 \
159 /* If this class isn't present, it won't be referenced. */ \
160 template(sun_misc_AtomicLongCSImpl_klass, sun_misc_AtomicLongCSImpl, Opt) \
161 \
162 template(sun_jkernel_DownloadManager_klass, sun_jkernel_DownloadManager, Opt_Kernel) \
163 \
164 /* Preload boxing klasses */ \
165 template(Boolean_klass, java_lang_Boolean, Pre) \
166 template(Character_klass, java_lang_Character, Pre) \
167 template(Float_klass, java_lang_Float, Pre) \
168 template(Double_klass, java_lang_Double, Pre) \
|
1 /*
2 * Copyright 1997-2010 Sun Microsystems, Inc. All Rights Reserved.
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 *
128 template(reflect_MagicAccessorImpl_klass, sun_reflect_MagicAccessorImpl, Opt) \
129 template(reflect_MethodAccessorImpl_klass, sun_reflect_MethodAccessorImpl, Opt_Only_JDK14NewRef) \
130 template(reflect_ConstructorAccessorImpl_klass, sun_reflect_ConstructorAccessorImpl, Opt_Only_JDK14NewRef) \
131 template(reflect_DelegatingClassLoader_klass, sun_reflect_DelegatingClassLoader, Opt) \
132 template(reflect_ConstantPool_klass, sun_reflect_ConstantPool, Opt_Only_JDK15) \
133 template(reflect_UnsafeStaticFieldAccessorImpl_klass, sun_reflect_UnsafeStaticFieldAccessorImpl, Opt_Only_JDK15) \
134 \
135 /* support for dynamic typing; it's OK if these are NULL in earlier JDKs */ \
136 template(MethodHandle_klass, java_dyn_MethodHandle, Opt) \
137 template(MemberName_klass, sun_dyn_MemberName, Opt) \
138 template(MethodHandleImpl_klass, sun_dyn_MethodHandleImpl, Opt) \
139 template(AdapterMethodHandle_klass, sun_dyn_AdapterMethodHandle, Opt) \
140 template(BoundMethodHandle_klass, sun_dyn_BoundMethodHandle, Opt) \
141 template(DirectMethodHandle_klass, sun_dyn_DirectMethodHandle, Opt) \
142 template(MethodType_klass, java_dyn_MethodType, Opt) \
143 template(MethodTypeForm_klass, java_dyn_MethodTypeForm, Opt) \
144 template(WrongMethodTypeException_klass, java_dyn_WrongMethodTypeException, Opt) \
145 template(Linkage_klass, java_dyn_Linkage, Opt) \
146 template(CallSite_klass, java_dyn_CallSite, Opt) \
147 template(InvokeDynamic_klass, java_dyn_InvokeDynamic, Opt) \
148 /* Note: MethodHandle must be first, and InvokeDynamic last in group */ \
149 \
150 template(StringBuffer_klass, java_lang_StringBuffer, Pre) \
151 template(StringBuilder_klass, java_lang_StringBuilder, Pre) \
152 \
153 /* It's NULL in non-1.4 JDKs. */ \
154 template(StackTraceElement_klass, java_lang_StackTraceElement, Opt) \
155 /* Universe::is_gte_jdk14x_version() is not set up by this point. */ \
156 /* It's okay if this turns out to be NULL in non-1.4 JDKs. */ \
157 template(java_nio_Buffer_klass, java_nio_Buffer, Opt) \
158 \
159 /* If this class isn't present, it won't be referenced. */ \
160 template(sun_misc_AtomicLongCSImpl_klass, sun_misc_AtomicLongCSImpl, Opt) \
161 \
162 template(sun_jkernel_DownloadManager_klass, sun_jkernel_DownloadManager, Opt_Kernel) \
163 \
164 /* Preload boxing klasses */ \
165 template(Boolean_klass, java_lang_Boolean, Pre) \
166 template(Character_klass, java_lang_Character, Pre) \
167 template(Float_klass, java_lang_Float, Pre) \
168 template(Double_klass, java_lang_Double, Pre) \
|