annotate src/share/vm/classfile/vmSymbols.hpp @ 21526:1da7aef31a08

created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Tue, 19 May 2015 23:16:07 +0200
parents 84b3d688ea83
children 07b088d61d5d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 /*
20415
47e3110c47e8 6642881: Improve performance of Class.getClassLoader()
coleenp
parents: 20375
diff changeset
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. 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 *
1552
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1507
diff changeset
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1507
diff changeset
20 * or visit www.oracle.com if you need additional information or have any
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1507
diff changeset
21 * questions.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
22 *
a61af66fc99e Initial load
duke
parents:
diff changeset
23 */
a61af66fc99e Initial load
duke
parents:
diff changeset
24
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1793
diff changeset
25 #ifndef SHARE_VM_CLASSFILE_VMSYMBOLS_HPP
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1793
diff changeset
26 #define SHARE_VM_CLASSFILE_VMSYMBOLS_HPP
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1793
diff changeset
27
2177
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
28 #include "oops/symbol.hpp"
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
29 #include "memory/iterator.hpp"
6006
0105f367a14c 7160570: Intrinsification support for tracing framework
rbackman
parents: 5895
diff changeset
30 #include "trace/traceMacros.hpp"
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1793
diff changeset
31
2177
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
32 // The class vmSymbols is a name space for fast lookup of
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
33 // symbols commonly used in the VM.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
34 //
a61af66fc99e Initial load
duke
parents:
diff changeset
35 // Sample usage:
a61af66fc99e Initial load
duke
parents:
diff changeset
36 //
2177
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
37 // Symbol* obj = vmSymbols::java_lang_Object();
0
a61af66fc99e Initial load
duke
parents:
diff changeset
38
a61af66fc99e Initial load
duke
parents:
diff changeset
39
a61af66fc99e Initial load
duke
parents:
diff changeset
40 // Useful sub-macros exported by this header file:
a61af66fc99e Initial load
duke
parents:
diff changeset
41
a61af66fc99e Initial load
duke
parents:
diff changeset
42 #define VM_SYMBOL_ENUM_NAME(name) name##_enum
a61af66fc99e Initial load
duke
parents:
diff changeset
43 #define VM_INTRINSIC_IGNORE(id, class, name, sig, flags) /*ignored*/
a61af66fc99e Initial load
duke
parents:
diff changeset
44 #define VM_SYMBOL_IGNORE(id, name) /*ignored*/
a61af66fc99e Initial load
duke
parents:
diff changeset
45 #define VM_ALIAS_IGNORE(id, id2) /*ignored*/
a61af66fc99e Initial load
duke
parents:
diff changeset
46
a61af66fc99e Initial load
duke
parents:
diff changeset
47
a61af66fc99e Initial load
duke
parents:
diff changeset
48 // Mapping function names to values. New entries should be added below.
a61af66fc99e Initial load
duke
parents:
diff changeset
49
a61af66fc99e Initial load
duke
parents:
diff changeset
50 #define VM_SYMBOLS_DO(template, do_alias) \
a61af66fc99e Initial load
duke
parents:
diff changeset
51 /* commonly used class names */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
52 template(java_lang_System, "java/lang/System") \
a61af66fc99e Initial load
duke
parents:
diff changeset
53 template(java_lang_Object, "java/lang/Object") \
a61af66fc99e Initial load
duke
parents:
diff changeset
54 template(java_lang_Class, "java/lang/Class") \
a61af66fc99e Initial load
duke
parents:
diff changeset
55 template(java_lang_String, "java/lang/String") \
a61af66fc99e Initial load
duke
parents:
diff changeset
56 template(java_lang_Thread, "java/lang/Thread") \
a61af66fc99e Initial load
duke
parents:
diff changeset
57 template(java_lang_ThreadGroup, "java/lang/ThreadGroup") \
a61af66fc99e Initial load
duke
parents:
diff changeset
58 template(java_lang_Cloneable, "java/lang/Cloneable") \
a61af66fc99e Initial load
duke
parents:
diff changeset
59 template(java_lang_Throwable, "java/lang/Throwable") \
a61af66fc99e Initial load
duke
parents:
diff changeset
60 template(java_lang_ClassLoader, "java/lang/ClassLoader") \
a61af66fc99e Initial load
duke
parents:
diff changeset
61 template(java_lang_ClassLoader_NativeLibrary, "java/lang/ClassLoader\x024NativeLibrary") \
a61af66fc99e Initial load
duke
parents:
diff changeset
62 template(java_lang_ThreadDeath, "java/lang/ThreadDeath") \
a61af66fc99e Initial load
duke
parents:
diff changeset
63 template(java_lang_Boolean, "java/lang/Boolean") \
a61af66fc99e Initial load
duke
parents:
diff changeset
64 template(java_lang_Character, "java/lang/Character") \
17
ff5961f4c095 6395208: Elide autoboxing for calls to HashMap.get(int) and HashMap.get(long)
never
parents: 0
diff changeset
65 template(java_lang_Character_CharacterCache, "java/lang/Character$CharacterCache") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
66 template(java_lang_Float, "java/lang/Float") \
a61af66fc99e Initial load
duke
parents:
diff changeset
67 template(java_lang_Double, "java/lang/Double") \
a61af66fc99e Initial load
duke
parents:
diff changeset
68 template(java_lang_Byte, "java/lang/Byte") \
10278
6f3fd5150b67 6934604: enable parts of EliminateAutoBox by default
kvn
parents: 8866
diff changeset
69 template(java_lang_Byte_ByteCache, "java/lang/Byte$ByteCache") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
70 template(java_lang_Short, "java/lang/Short") \
17
ff5961f4c095 6395208: Elide autoboxing for calls to HashMap.get(int) and HashMap.get(long)
never
parents: 0
diff changeset
71 template(java_lang_Short_ShortCache, "java/lang/Short$ShortCache") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
72 template(java_lang_Integer, "java/lang/Integer") \
17
ff5961f4c095 6395208: Elide autoboxing for calls to HashMap.get(int) and HashMap.get(long)
never
parents: 0
diff changeset
73 template(java_lang_Integer_IntegerCache, "java/lang/Integer$IntegerCache") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
74 template(java_lang_Long, "java/lang/Long") \
17
ff5961f4c095 6395208: Elide autoboxing for calls to HashMap.get(int) and HashMap.get(long)
never
parents: 0
diff changeset
75 template(java_lang_Long_LongCache, "java/lang/Long$LongCache") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
76 template(java_lang_Shutdown, "java/lang/Shutdown") \
a61af66fc99e Initial load
duke
parents:
diff changeset
77 template(java_lang_ref_Reference, "java/lang/ref/Reference") \
a61af66fc99e Initial load
duke
parents:
diff changeset
78 template(java_lang_ref_SoftReference, "java/lang/ref/SoftReference") \
a61af66fc99e Initial load
duke
parents:
diff changeset
79 template(java_lang_ref_WeakReference, "java/lang/ref/WeakReference") \
a61af66fc99e Initial load
duke
parents:
diff changeset
80 template(java_lang_ref_FinalReference, "java/lang/ref/FinalReference") \
a61af66fc99e Initial load
duke
parents:
diff changeset
81 template(java_lang_ref_PhantomReference, "java/lang/ref/PhantomReference") \
20755
01dcaba9b3f3 8047125: (ref) More phantom object references
jmasa
parents: 17910
diff changeset
82 template(sun_misc_Cleaner, "sun/misc/Cleaner") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
83 template(java_lang_ref_Finalizer, "java/lang/ref/Finalizer") \
a61af66fc99e Initial load
duke
parents:
diff changeset
84 template(java_lang_reflect_AccessibleObject, "java/lang/reflect/AccessibleObject") \
a61af66fc99e Initial load
duke
parents:
diff changeset
85 template(java_lang_reflect_Method, "java/lang/reflect/Method") \
a61af66fc99e Initial load
duke
parents:
diff changeset
86 template(java_lang_reflect_Constructor, "java/lang/reflect/Constructor") \
a61af66fc99e Initial load
duke
parents:
diff changeset
87 template(java_lang_reflect_Field, "java/lang/reflect/Field") \
7462
ade95d680b42 8004728: Add hotspot support for parameter reflection
coleenp
parents: 7458
diff changeset
88 template(java_lang_reflect_Parameter, "java/lang/reflect/Parameter") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
89 template(java_lang_reflect_Array, "java/lang/reflect/Array") \
a61af66fc99e Initial load
duke
parents:
diff changeset
90 template(java_lang_StringBuffer, "java/lang/StringBuffer") \
1080
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
91 template(java_lang_StringBuilder, "java/lang/StringBuilder") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
92 template(java_lang_CharSequence, "java/lang/CharSequence") \
8866
16885e702c88 7198429: need checked categorization of caller-sensitive methods in the JDK
twisti
parents: 7955
diff changeset
93 template(java_lang_SecurityManager, "java/lang/SecurityManager") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
94 template(java_security_AccessControlContext, "java/security/AccessControlContext") \
20375
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
95 template(java_security_CodeSource, "java/security/CodeSource") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
96 template(java_security_ProtectionDomain, "java/security/ProtectionDomain") \
20375
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
97 template(java_security_SecureClassLoader, "java/security/SecureClassLoader") \
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
98 template(java_net_URLClassLoader, "java/net/URLClassLoader") \
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
99 template(java_net_URL, "java/net/URL") \
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
100 template(java_util_jar_Manifest, "java/util/jar/Manifest") \
11010
b295e132102d 8001330: Improve on checking order
mullan
parents: 8866
diff changeset
101 template(impliesCreateAccessControlContext_name, "impliesCreateAccessControlContext") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
102 template(java_io_OutputStream, "java/io/OutputStream") \
a61af66fc99e Initial load
duke
parents:
diff changeset
103 template(java_io_Reader, "java/io/Reader") \
a61af66fc99e Initial load
duke
parents:
diff changeset
104 template(java_io_BufferedReader, "java/io/BufferedReader") \
20375
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
105 template(java_io_File, "java/io/File") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
106 template(java_io_FileInputStream, "java/io/FileInputStream") \
a61af66fc99e Initial load
duke
parents:
diff changeset
107 template(java_io_ByteArrayInputStream, "java/io/ByteArrayInputStream") \
a61af66fc99e Initial load
duke
parents:
diff changeset
108 template(java_io_Serializable, "java/io/Serializable") \
a61af66fc99e Initial load
duke
parents:
diff changeset
109 template(java_util_Arrays, "java/util/Arrays") \
a61af66fc99e Initial load
duke
parents:
diff changeset
110 template(java_util_Properties, "java/util/Properties") \
a61af66fc99e Initial load
duke
parents:
diff changeset
111 template(java_util_Vector, "java/util/Vector") \
a61af66fc99e Initial load
duke
parents:
diff changeset
112 template(java_util_AbstractList, "java/util/AbstractList") \
a61af66fc99e Initial load
duke
parents:
diff changeset
113 template(java_util_Hashtable, "java/util/Hashtable") \
a61af66fc99e Initial load
duke
parents:
diff changeset
114 template(java_lang_Compiler, "java/lang/Compiler") \
a61af66fc99e Initial load
duke
parents:
diff changeset
115 template(sun_misc_Signal, "sun/misc/Signal") \
20375
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
116 template(sun_misc_Launcher, "sun/misc/Launcher") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
117 template(java_lang_AssertionStatusDirectives, "java/lang/AssertionStatusDirectives") \
a61af66fc99e Initial load
duke
parents:
diff changeset
118 template(getBootClassPathEntryForClass_name, "getBootClassPathEntryForClass") \
2129
8f8dfba37802 6994753: Implement optional hook to a Java method at VM startup.
kevinw
parents: 2011
diff changeset
119 template(sun_misc_PostVMInitHook, "sun/misc/PostVMInitHook") \
20608
4cb90023bf2b 8061651: Interface to the Lookup Index Cache to improve URLClassPath search time
iklam
parents: 20438
diff changeset
120 template(sun_misc_Launcher_AppClassLoader, "sun/misc/Launcher$AppClassLoader") \
6894
a3ecd773a7b9 7184394: add intrinsics to use AES instructions
kvn
parents: 6847
diff changeset
121 template(sun_misc_Launcher_ExtClassLoader, "sun/misc/Launcher$ExtClassLoader") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
122 \
6181
f8de958e5b2c 7176856: add the JRE name to the error log
twisti
parents: 6143
diff changeset
123 /* Java runtime version access */ \
f8de958e5b2c 7176856: add the JRE name to the error log
twisti
parents: 6143
diff changeset
124 template(sun_misc_Version, "sun/misc/Version") \
f8de958e5b2c 7176856: add the JRE name to the error log
twisti
parents: 6143
diff changeset
125 template(java_runtime_name_name, "java_runtime_name") \
6921
a1b8cf9cf970 8002078: hs_err_pid file should report full JDK version string
sla
parents: 6847
diff changeset
126 template(java_runtime_version_name, "java_runtime_version") \
6181
f8de958e5b2c 7176856: add the JRE name to the error log
twisti
parents: 6143
diff changeset
127 \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
128 /* class file format tags */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
129 template(tag_source_file, "SourceFile") \
a61af66fc99e Initial load
duke
parents:
diff changeset
130 template(tag_inner_classes, "InnerClasses") \
a61af66fc99e Initial load
duke
parents:
diff changeset
131 template(tag_constant_value, "ConstantValue") \
a61af66fc99e Initial load
duke
parents:
diff changeset
132 template(tag_code, "Code") \
a61af66fc99e Initial load
duke
parents:
diff changeset
133 template(tag_exceptions, "Exceptions") \
a61af66fc99e Initial load
duke
parents:
diff changeset
134 template(tag_line_number_table, "LineNumberTable") \
a61af66fc99e Initial load
duke
parents:
diff changeset
135 template(tag_local_variable_table, "LocalVariableTable") \
a61af66fc99e Initial load
duke
parents:
diff changeset
136 template(tag_local_variable_type_table, "LocalVariableTypeTable") \
7462
ade95d680b42 8004728: Add hotspot support for parameter reflection
coleenp
parents: 7458
diff changeset
137 template(tag_method_parameters, "MethodParameters") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
138 template(tag_stack_map_table, "StackMapTable") \
a61af66fc99e Initial load
duke
parents:
diff changeset
139 template(tag_synthetic, "Synthetic") \
a61af66fc99e Initial load
duke
parents:
diff changeset
140 template(tag_deprecated, "Deprecated") \
a61af66fc99e Initial load
duke
parents:
diff changeset
141 template(tag_source_debug_extension, "SourceDebugExtension") \
a61af66fc99e Initial load
duke
parents:
diff changeset
142 template(tag_signature, "Signature") \
a61af66fc99e Initial load
duke
parents:
diff changeset
143 template(tag_runtime_visible_annotations, "RuntimeVisibleAnnotations") \
a61af66fc99e Initial load
duke
parents:
diff changeset
144 template(tag_runtime_invisible_annotations, "RuntimeInvisibleAnnotations") \
a61af66fc99e Initial load
duke
parents:
diff changeset
145 template(tag_runtime_visible_parameter_annotations, "RuntimeVisibleParameterAnnotations") \
a61af66fc99e Initial load
duke
parents:
diff changeset
146 template(tag_runtime_invisible_parameter_annotations,"RuntimeInvisibleParameterAnnotations") \
a61af66fc99e Initial load
duke
parents:
diff changeset
147 template(tag_annotation_default, "AnnotationDefault") \
7457
35431a769282 8004823: Add VM support for type annotation reflection
stefank
parents: 6935
diff changeset
148 template(tag_runtime_visible_type_annotations, "RuntimeVisibleTypeAnnotations") \
35431a769282 8004823: Add VM support for type annotation reflection
stefank
parents: 6935
diff changeset
149 template(tag_runtime_invisible_type_annotations, "RuntimeInvisibleTypeAnnotations") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
150 template(tag_enclosing_method, "EnclosingMethod") \
2011
dad31fc330cd 7001379: bootstrap method data needs to be moved from constant pool to a classfile attribute
jrose
parents: 1972
diff changeset
151 template(tag_bootstrap_methods, "BootstrapMethods") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
152 \
a61af66fc99e Initial load
duke
parents:
diff changeset
153 /* exception klasses: at least all exceptions thrown by the VM have entries here */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
154 template(java_lang_ArithmeticException, "java/lang/ArithmeticException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
155 template(java_lang_ArrayIndexOutOfBoundsException, "java/lang/ArrayIndexOutOfBoundsException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
156 template(java_lang_ArrayStoreException, "java/lang/ArrayStoreException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
157 template(java_lang_ClassCastException, "java/lang/ClassCastException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
158 template(java_lang_ClassNotFoundException, "java/lang/ClassNotFoundException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
159 template(java_lang_CloneNotSupportedException, "java/lang/CloneNotSupportedException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
160 template(java_lang_IllegalAccessException, "java/lang/IllegalAccessException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
161 template(java_lang_IllegalArgumentException, "java/lang/IllegalArgumentException") \
1507
cd5dbf694d45 6939134: JSR 292 adjustments to method handle invocation
jrose
parents: 1396
diff changeset
162 template(java_lang_IllegalStateException, "java/lang/IllegalStateException") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
163 template(java_lang_IllegalMonitorStateException, "java/lang/IllegalMonitorStateException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
164 template(java_lang_IllegalThreadStateException, "java/lang/IllegalThreadStateException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
165 template(java_lang_IndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
166 template(java_lang_InstantiationException, "java/lang/InstantiationException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
167 template(java_lang_InstantiationError, "java/lang/InstantiationError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
168 template(java_lang_InterruptedException, "java/lang/InterruptedException") \
3417
ba550512d3b2 7049415: Failure of resolution of sym.reference to the c.s.s. should be wrapped in BootstrapMethodError
jrose
parents: 3373
diff changeset
169 template(java_lang_BootstrapMethodError, "java/lang/BootstrapMethodError") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
170 template(java_lang_LinkageError, "java/lang/LinkageError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
171 template(java_lang_NegativeArraySizeException, "java/lang/NegativeArraySizeException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
172 template(java_lang_NoSuchFieldException, "java/lang/NoSuchFieldException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
173 template(java_lang_NoSuchMethodException, "java/lang/NoSuchMethodException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
174 template(java_lang_NullPointerException, "java/lang/NullPointerException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
175 template(java_lang_StringIndexOutOfBoundsException, "java/lang/StringIndexOutOfBoundsException")\
6271
93c71eb28866 7188911: nightly failures after JSR 292 lazy method handle update (round 2)
twisti
parents: 6266
diff changeset
176 template(java_lang_UnsupportedOperationException, "java/lang/UnsupportedOperationException") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
177 template(java_lang_InvalidClassException, "java/lang/InvalidClassException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
178 template(java_lang_reflect_InvocationTargetException, "java/lang/reflect/InvocationTargetException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
179 template(java_lang_Exception, "java/lang/Exception") \
a61af66fc99e Initial load
duke
parents:
diff changeset
180 template(java_lang_RuntimeException, "java/lang/RuntimeException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
181 template(java_io_IOException, "java/io/IOException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
182 template(java_security_PrivilegedActionException, "java/security/PrivilegedActionException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
183 \
a61af66fc99e Initial load
duke
parents:
diff changeset
184 /* error klasses: at least all errors thrown by the VM have entries here */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
185 template(java_lang_AbstractMethodError, "java/lang/AbstractMethodError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
186 template(java_lang_ClassCircularityError, "java/lang/ClassCircularityError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
187 template(java_lang_ClassFormatError, "java/lang/ClassFormatError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
188 template(java_lang_UnsupportedClassVersionError, "java/lang/UnsupportedClassVersionError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
189 template(java_lang_Error, "java/lang/Error") \
a61af66fc99e Initial load
duke
parents:
diff changeset
190 template(java_lang_ExceptionInInitializerError, "java/lang/ExceptionInInitializerError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
191 template(java_lang_IllegalAccessError, "java/lang/IllegalAccessError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
192 template(java_lang_IncompatibleClassChangeError, "java/lang/IncompatibleClassChangeError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
193 template(java_lang_InternalError, "java/lang/InternalError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
194 template(java_lang_NoClassDefFoundError, "java/lang/NoClassDefFoundError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
195 template(java_lang_NoSuchFieldError, "java/lang/NoSuchFieldError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
196 template(java_lang_NoSuchMethodError, "java/lang/NoSuchMethodError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
197 template(java_lang_OutOfMemoryError, "java/lang/OutOfMemoryError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
198 template(java_lang_UnsatisfiedLinkError, "java/lang/UnsatisfiedLinkError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
199 template(java_lang_VerifyError, "java/lang/VerifyError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
200 template(java_lang_SecurityException, "java/lang/SecurityException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
201 template(java_lang_VirtualMachineError, "java/lang/VirtualMachineError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
202 template(java_lang_StackOverflowError, "java/lang/StackOverflowError") \
a61af66fc99e Initial load
duke
parents:
diff changeset
203 template(java_lang_StackTraceElement, "java/lang/StackTraceElement") \
7587
4a916f2ce331 8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents: 7462
diff changeset
204 \
4a916f2ce331 8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents: 7462
diff changeset
205 /* Concurrency support */ \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
206 template(java_util_concurrent_locks_AbstractOwnableSynchronizer, "java/util/concurrent/locks/AbstractOwnableSynchronizer") \
7587
4a916f2ce331 8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents: 7462
diff changeset
207 template(sun_misc_Contended_signature, "Lsun/misc/Contended;") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
208 \
a61af66fc99e Initial load
duke
parents:
diff changeset
209 /* class symbols needed by intrinsics */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
210 VM_INTRINSICS_DO(VM_INTRINSIC_IGNORE, template, VM_SYMBOL_IGNORE, VM_SYMBOL_IGNORE, VM_ALIAS_IGNORE) \
a61af66fc99e Initial load
duke
parents:
diff changeset
211 \
a61af66fc99e Initial load
duke
parents:
diff changeset
212 /* Support for reflection based on dynamic bytecode generation (JDK 1.4 and above) */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
213 \
a61af66fc99e Initial load
duke
parents:
diff changeset
214 template(sun_reflect_FieldInfo, "sun/reflect/FieldInfo") \
a61af66fc99e Initial load
duke
parents:
diff changeset
215 template(sun_reflect_MethodInfo, "sun/reflect/MethodInfo") \
a61af66fc99e Initial load
duke
parents:
diff changeset
216 template(sun_reflect_MagicAccessorImpl, "sun/reflect/MagicAccessorImpl") \
a61af66fc99e Initial load
duke
parents:
diff changeset
217 template(sun_reflect_MethodAccessorImpl, "sun/reflect/MethodAccessorImpl") \
a61af66fc99e Initial load
duke
parents:
diff changeset
218 template(sun_reflect_ConstructorAccessorImpl, "sun/reflect/ConstructorAccessorImpl") \
a61af66fc99e Initial load
duke
parents:
diff changeset
219 template(sun_reflect_SerializationConstructorAccessorImpl, "sun/reflect/SerializationConstructorAccessorImpl") \
a61af66fc99e Initial load
duke
parents:
diff changeset
220 template(sun_reflect_DelegatingClassLoader, "sun/reflect/DelegatingClassLoader") \
a61af66fc99e Initial load
duke
parents:
diff changeset
221 template(sun_reflect_Reflection, "sun/reflect/Reflection") \
8866
16885e702c88 7198429: need checked categorization of caller-sensitive methods in the JDK
twisti
parents: 7955
diff changeset
222 template(sun_reflect_CallerSensitive, "sun/reflect/CallerSensitive") \
16885e702c88 7198429: need checked categorization of caller-sensitive methods in the JDK
twisti
parents: 7955
diff changeset
223 template(sun_reflect_CallerSensitive_signature, "Lsun/reflect/CallerSensitive;") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
224 template(checkedExceptions_name, "checkedExceptions") \
a61af66fc99e Initial load
duke
parents:
diff changeset
225 template(clazz_name, "clazz") \
a61af66fc99e Initial load
duke
parents:
diff changeset
226 template(exceptionTypes_name, "exceptionTypes") \
a61af66fc99e Initial load
duke
parents:
diff changeset
227 template(modifiers_name, "modifiers") \
a61af66fc99e Initial load
duke
parents:
diff changeset
228 template(newConstructor_name, "newConstructor") \
a61af66fc99e Initial load
duke
parents:
diff changeset
229 template(newConstructor_signature, "(Lsun/reflect/MethodInfo;)Ljava/lang/reflect/Constructor;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
230 template(newField_name, "newField") \
a61af66fc99e Initial load
duke
parents:
diff changeset
231 template(newField_signature, "(Lsun/reflect/FieldInfo;)Ljava/lang/reflect/Field;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
232 template(newMethod_name, "newMethod") \
a61af66fc99e Initial load
duke
parents:
diff changeset
233 template(newMethod_signature, "(Lsun/reflect/MethodInfo;)Ljava/lang/reflect/Method;") \
6266
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
234 template(invokeBasic_name, "invokeBasic") \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
235 template(linkToVirtual_name, "linkToVirtual") \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
236 template(linkToStatic_name, "linkToStatic") \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
237 template(linkToSpecial_name, "linkToSpecial") \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
238 template(linkToInterface_name, "linkToInterface") \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
239 template(compiledLambdaForm_name, "<compiledLambdaForm>") /*fake name*/ \
1507
cd5dbf694d45 6939134: JSR 292 adjustments to method handle invocation
jrose
parents: 1396
diff changeset
240 template(star_name, "*") /*not really a name*/ \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
241 template(invoke_name, "invoke") \
a61af66fc99e Initial load
duke
parents:
diff changeset
242 template(override_name, "override") \
a61af66fc99e Initial load
duke
parents:
diff changeset
243 template(parameterTypes_name, "parameterTypes") \
a61af66fc99e Initial load
duke
parents:
diff changeset
244 template(returnType_name, "returnType") \
a61af66fc99e Initial load
duke
parents:
diff changeset
245 template(signature_name, "signature") \
a61af66fc99e Initial load
duke
parents:
diff changeset
246 template(slot_name, "slot") \
3905
c26de9aef2ed 7071307: MethodHandle bimorphic inlining should consider the frequency
never
parents: 3900
diff changeset
247 template(selectAlternative_name, "selectAlternative") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
248 \
a61af66fc99e Initial load
duke
parents:
diff changeset
249 /* Support for annotations (JDK 1.5 and above) */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
250 \
a61af66fc99e Initial load
duke
parents:
diff changeset
251 template(annotations_name, "annotations") \
7462
ade95d680b42 8004728: Add hotspot support for parameter reflection
coleenp
parents: 7458
diff changeset
252 template(index_name, "index") \
ade95d680b42 8004728: Add hotspot support for parameter reflection
coleenp
parents: 7458
diff changeset
253 template(executable_name, "executable") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
254 template(parameter_annotations_name, "parameterAnnotations") \
a61af66fc99e Initial load
duke
parents:
diff changeset
255 template(annotation_default_name, "annotationDefault") \
a61af66fc99e Initial load
duke
parents:
diff changeset
256 template(sun_reflect_ConstantPool, "sun/reflect/ConstantPool") \
6725
da91efe96a93 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 6271
diff changeset
257 template(ConstantPool_name, "constantPoolOop") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
258 template(sun_reflect_UnsafeStaticFieldAccessorImpl, "sun/reflect/UnsafeStaticFieldAccessorImpl")\
a61af66fc99e Initial load
duke
parents:
diff changeset
259 template(base_name, "base") \
7457
35431a769282 8004823: Add VM support for type annotation reflection
stefank
parents: 6935
diff changeset
260 /* Type Annotations (JDK 8 and above) */ \
35431a769282 8004823: Add VM support for type annotation reflection
stefank
parents: 6935
diff changeset
261 template(type_annotations_name, "typeAnnotations") \
35431a769282 8004823: Add VM support for type annotation reflection
stefank
parents: 6935
diff changeset
262 \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
263 \
710
e5b0439ef4ae 6655638: dynamic languages need method handles
jrose
parents: 681
diff changeset
264 /* Support for JSR 292 & invokedynamic (JDK 1.7 and above) */ \
2357
8033953d67ff 7012648: move JSR 292 to package java.lang.invoke and adjust names
jrose
parents: 2356
diff changeset
265 template(java_lang_invoke_CallSite, "java/lang/invoke/CallSite") \
3852
fdb992d83a87 7071653: JSR 292: call site change notification should be pushed not pulled
twisti
parents: 3417
diff changeset
266 template(java_lang_invoke_ConstantCallSite, "java/lang/invoke/ConstantCallSite") \
12010
ca0165daa6ec 7187554: JSR 292: JVMTI PopFrame needs to handle appendix arguments
sspitsyn
parents: 11154
diff changeset
267 template(java_lang_invoke_DirectMethodHandle, "java/lang/invoke/DirectMethodHandle") \
3852
fdb992d83a87 7071653: JSR 292: call site change notification should be pushed not pulled
twisti
parents: 3417
diff changeset
268 template(java_lang_invoke_MutableCallSite, "java/lang/invoke/MutableCallSite") \
fdb992d83a87 7071653: JSR 292: call site change notification should be pushed not pulled
twisti
parents: 3417
diff changeset
269 template(java_lang_invoke_VolatileCallSite, "java/lang/invoke/VolatileCallSite") \
2357
8033953d67ff 7012648: move JSR 292 to package java.lang.invoke and adjust names
jrose
parents: 2356
diff changeset
270 template(java_lang_invoke_MethodHandle, "java/lang/invoke/MethodHandle") \
8033953d67ff 7012648: move JSR 292 to package java.lang.invoke and adjust names
jrose
parents: 2356
diff changeset
271 template(java_lang_invoke_MethodType, "java/lang/invoke/MethodType") \
8033953d67ff 7012648: move JSR 292 to package java.lang.invoke and adjust names
jrose
parents: 2356
diff changeset
272 template(java_lang_invoke_MethodType_signature, "Ljava/lang/invoke/MethodType;") \
6266
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
273 template(java_lang_invoke_MemberName_signature, "Ljava/lang/invoke/MemberName;") \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
274 template(java_lang_invoke_LambdaForm_signature, "Ljava/lang/invoke/LambdaForm;") \
2357
8033953d67ff 7012648: move JSR 292 to package java.lang.invoke and adjust names
jrose
parents: 2356
diff changeset
275 template(java_lang_invoke_MethodHandle_signature, "Ljava/lang/invoke/MethodHandle;") \
710
e5b0439ef4ae 6655638: dynamic languages need method handles
jrose
parents: 681
diff changeset
276 /* internal classes known only to the JVM: */ \
2357
8033953d67ff 7012648: move JSR 292 to package java.lang.invoke and adjust names
jrose
parents: 2356
diff changeset
277 template(java_lang_invoke_MemberName, "java/lang/invoke/MemberName") \
8033953d67ff 7012648: move JSR 292 to package java.lang.invoke and adjust names
jrose
parents: 2356
diff changeset
278 template(java_lang_invoke_MethodHandleNatives, "java/lang/invoke/MethodHandleNatives") \
6266
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
279 template(java_lang_invoke_LambdaForm, "java/lang/invoke/LambdaForm") \
6222
6d8f36bcef55 6711908: JVM needs direct access to some annotations
jrose
parents: 6181
diff changeset
280 template(java_lang_invoke_ForceInline_signature, "Ljava/lang/invoke/ForceInline;") \
6266
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
281 template(java_lang_invoke_DontInline_signature, "Ljava/lang/invoke/DontInline;") \
12333
cacc4c6bfc80 8025233: Move sun.invoke.Stable into java.lang.invoke package
vlivanov
parents: 12323
diff changeset
282 template(java_lang_invoke_Stable_signature, "Ljava/lang/invoke/Stable;") \
6266
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
283 template(java_lang_invoke_LambdaForm_Compiled_signature, "Ljava/lang/invoke/LambdaForm$Compiled;") \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
284 template(java_lang_invoke_LambdaForm_Hidden_signature, "Ljava/lang/invoke/LambdaForm$Hidden;") \
2357
8033953d67ff 7012648: move JSR 292 to package java.lang.invoke and adjust names
jrose
parents: 2356
diff changeset
285 /* internal up-calls made only by the JVM, via class sun.invoke.MethodHandleNatives: */ \
1507
cd5dbf694d45 6939134: JSR 292 adjustments to method handle invocation
jrose
parents: 1396
diff changeset
286 template(findMethodHandleType_name, "findMethodHandleType") \
2357
8033953d67ff 7012648: move JSR 292 to package java.lang.invoke and adjust names
jrose
parents: 2356
diff changeset
287 template(findMethodHandleType_signature, "(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;") \
1602
136b78722a08 6939203: JSR 292 needs method handle constants
jrose
parents: 1552
diff changeset
288 template(linkMethodHandleConstant_name, "linkMethodHandleConstant") \
2357
8033953d67ff 7012648: move JSR 292 to package java.lang.invoke and adjust names
jrose
parents: 2356
diff changeset
289 template(linkMethodHandleConstant_signature, "(Ljava/lang/Class;ILjava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;") \
6266
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
290 template(linkMethod_name, "linkMethod") \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
291 template(linkMethod_signature, "(Ljava/lang/Class;ILjava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/invoke/MemberName;") \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
292 template(linkCallSite_name, "linkCallSite") \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
293 template(linkCallSite_signature, "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/invoke/MemberName;") \
3900
a32de5085326 7079673: JSR 292: C1 should inline bytecoded method handle adapters
twisti
parents: 3852
diff changeset
294 template(setTargetNormal_name, "setTargetNormal") \
a32de5085326 7079673: JSR 292: C1 should inline bytecoded method handle adapters
twisti
parents: 3852
diff changeset
295 template(setTargetVolatile_name, "setTargetVolatile") \
a32de5085326 7079673: JSR 292: C1 should inline bytecoded method handle adapters
twisti
parents: 3852
diff changeset
296 template(setTarget_signature, "(Ljava/lang/invoke/MethodHandle;)V") \
3938
e6b1331a51d2 7086585: make Java field injection more flexible
never
parents: 3905
diff changeset
297 NOT_LP64( do_alias(intptr_signature, int_signature) ) \
e6b1331a51d2 7086585: make Java field injection more flexible
never
parents: 3905
diff changeset
298 LP64_ONLY( do_alias(intptr_signature, long_signature) ) \
3905
c26de9aef2ed 7071307: MethodHandle bimorphic inlining should consider the frequency
never
parents: 3900
diff changeset
299 template(selectAlternative_signature, "(ZLjava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;") \
14724
c3ec1e4494b8 update BenchmarkCounters (add TimedDynamicCounters, fix -XX:+GraalCountersExcludeCompiler)
Lukas Stadler <lukas.stadler@oracle.com>
parents: 14562
diff changeset
300 \
c3ec1e4494b8 update BenchmarkCounters (add TimedDynamicCounters, fix -XX:+GraalCountersExcludeCompiler)
Lukas Stadler <lukas.stadler@oracle.com>
parents: 14562
diff changeset
301 /* Support for Graal */ \
16398
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
302 template(java_util_BitSet, "java/util/BitSet") \
21526
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
303 GRAAL_ONLY(template(com_oracle_graal_debug_Debug, "com/oracle/graal/debug/Debug")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
304 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_HotSpotCompiledCode, "com/oracle/graal/hotspot/jvmci/HotSpotCompiledCode")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
305 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_HotSpotCompiledCode_Comment, "com/oracle/graal/hotspot/jvmci/HotSpotCompiledCode$Comment")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
306 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_HotSpotCompiledNmethod, "com/oracle/graal/hotspot/jvmci/HotSpotCompiledNmethod")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
307 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_HotSpotForeignCallTarget, "com/oracle/graal/hotspot/jvmci/HotSpotForeignCallTarget")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
308 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_HotSpotReferenceMap, "com/oracle/graal/hotspot/jvmci/HotSpotReferenceMap")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
309 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_HotSpotReferenceMap_HotSpotOopMap, "com/oracle/graal/hotspot/jvmci/HotSpotReferenceMap$HotSpotOopMap"))\
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
310 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_CompilerToVMImpl, "com/oracle/graal/hotspot/jvmci/CompilerToVMImpl")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
311 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_HotSpotInstalledCode, "com/oracle/graal/hotspot/jvmci/HotSpotInstalledCode")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
312 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_HotSpotNmethod, "com/oracle/graal/hotspot/jvmci/HotSpotNmethod")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
313 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_HotSpotResolvedJavaMethodImpl, "com/oracle/graal/hotspot/jvmci/HotSpotResolvedJavaMethodImpl")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
314 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_HotSpotResolvedObjectTypeImpl, "com/oracle/graal/hotspot/jvmci/HotSpotResolvedObjectTypeImpl")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
315 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_HotSpotCompressedNullConstant, "com/oracle/graal/hotspot/jvmci/HotSpotCompressedNullConstant")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
316 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_HotSpotObjectConstantImpl, "com/oracle/graal/hotspot/jvmci/HotSpotObjectConstantImpl")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
317 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_HotSpotMetaspaceConstantImpl, "com/oracle/graal/hotspot/jvmci/HotSpotMetaspaceConstantImpl")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
318 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_HotSpotStackFrameReference, "com/oracle/graal/hotspot/jvmci/HotSpotStackFrameReference")) \
16398
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
319 GRAAL_ONLY(template(com_oracle_graal_hotspot_HotSpotGraalRuntime, "com/oracle/graal/hotspot/HotSpotGraalRuntime")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
320 GRAAL_ONLY(template(com_oracle_graal_hotspot_CompilationTask, "com/oracle/graal/hotspot/CompilationTask")) \
18187
9619ba4daf4c Rename Constant to JavaConstant.
Roland Schatz <roland.schatz@oracle.com>
parents: 18186
diff changeset
321 GRAAL_ONLY(template(com_oracle_graal_api_meta_JavaConstant, "com/oracle/graal/api/meta/JavaConstant")) \
16398
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
322 GRAAL_ONLY(template(com_oracle_graal_api_meta_PrimitiveConstant, "com/oracle/graal/api/meta/PrimitiveConstant")) \
17084
26f5733fb645 Fix the endianess issue, when using JSR/RET instruction and deoptimization happens in this subroutine
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 16996
diff changeset
323 GRAAL_ONLY(template(com_oracle_graal_api_meta_RawConstant, "com/oracle/graal/api/meta/RawConstant")) \
16398
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
324 GRAAL_ONLY(template(com_oracle_graal_api_meta_NullConstant, "com/oracle/graal/api/meta/NullConstant")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
325 GRAAL_ONLY(template(com_oracle_graal_api_meta_ExceptionHandler, "com/oracle/graal/api/meta/ExceptionHandler")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
326 GRAAL_ONLY(template(com_oracle_graal_api_meta_JavaMethod, "com/oracle/graal/api/meta/JavaMethod")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
327 GRAAL_ONLY(template(com_oracle_graal_api_meta_JavaType, "com/oracle/graal/api/meta/JavaType")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
328 GRAAL_ONLY(template(com_oracle_graal_api_meta_Kind, "com/oracle/graal/api/meta/Kind")) \
16580
a7d9b88ecd68 use LIRKind in graalCodeInstaller, support compressed oops in frame states
Lukas Stadler <lukas.stadler@oracle.com>
parents: 16399
diff changeset
329 GRAAL_ONLY(template(com_oracle_graal_api_meta_LIRKind, "com/oracle/graal/api/meta/LIRKind")) \
18319
56cc1a799a60 (re)converted Value to an interface
Doug Simon <doug.simon@oracle.com>
parents: 18266
diff changeset
330 GRAAL_ONLY(template(com_oracle_graal_api_meta_AbstractValue, "com/oracle/graal/api/meta/AbstractValue")) \
19800
3362ba500371 Connect required Assumptions with answer to CHA query
Tom Rodriguez <tom.rodriguez@oracle.com>
parents: 19782
diff changeset
331 GRAAL_ONLY(template(com_oracle_graal_api_meta_Assumptions_ConcreteSubtype, "com/oracle/graal/api/meta/Assumptions$ConcreteSubtype")) \
19801
deab43a789ad Split LeafType off from ConcreteSubtype
Tom Rodriguez <tom.rodriguez@oracle.com>
parents: 19800
diff changeset
332 GRAAL_ONLY(template(com_oracle_graal_api_meta_Assumptions_LeafType, "com/oracle/graal/api/meta/Assumptions$LeafType")) \
19800
3362ba500371 Connect required Assumptions with answer to CHA query
Tom Rodriguez <tom.rodriguez@oracle.com>
parents: 19782
diff changeset
333 GRAAL_ONLY(template(com_oracle_graal_api_meta_Assumptions_NoFinalizableSubclass, "com/oracle/graal/api/meta/Assumptions$NoFinalizableSubclass")) \
3362ba500371 Connect required Assumptions with answer to CHA query
Tom Rodriguez <tom.rodriguez@oracle.com>
parents: 19782
diff changeset
334 GRAAL_ONLY(template(com_oracle_graal_api_meta_Assumptions_ConcreteMethod, "com/oracle/graal/api/meta/Assumptions$ConcreteMethod")) \
3362ba500371 Connect required Assumptions with answer to CHA query
Tom Rodriguez <tom.rodriguez@oracle.com>
parents: 19782
diff changeset
335 GRAAL_ONLY(template(com_oracle_graal_api_meta_Assumptions_CallSiteTargetValue,"com/oracle/graal/api/meta/Assumptions$CallSiteTargetValue")) \
16398
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
336 GRAAL_ONLY(template(com_oracle_graal_api_code_CompilationResult, "com/oracle/graal/api/code/CompilationResult")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
337 GRAAL_ONLY(template(com_oracle_graal_api_code_CompilationResult_Call, "com/oracle/graal/api/code/CompilationResult$Call")) \
18176
c2270ad35f57 Better construction of data section and data patches.
Roland Schatz <roland.schatz@oracle.com>
parents: 18041
diff changeset
338 GRAAL_ONLY(template(com_oracle_graal_api_code_CompilationResult_ConstantReference, "com/oracle/graal/api/code/CompilationResult$ConstantReference")) \
16398
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
339 GRAAL_ONLY(template(com_oracle_graal_api_code_CompilationResult_DataPatch, "com/oracle/graal/api/code/CompilationResult$DataPatch")) \
18176
c2270ad35f57 Better construction of data section and data patches.
Roland Schatz <roland.schatz@oracle.com>
parents: 18041
diff changeset
340 GRAAL_ONLY(template(com_oracle_graal_api_code_CompilationResult_DataSectionReference, "com/oracle/graal/api/code/CompilationResult$DataSectionReference")) \
16398
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
341 GRAAL_ONLY(template(com_oracle_graal_api_code_CompilationResult_ExceptionHandler, "com/oracle/graal/api/code/CompilationResult$ExceptionHandler")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
342 GRAAL_ONLY(template(com_oracle_graal_api_code_CompilationResult_Mark, "com/oracle/graal/api/code/CompilationResult$Mark")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
343 GRAAL_ONLY(template(com_oracle_graal_api_code_CompilationResult_Infopoint, "com/oracle/graal/api/code/CompilationResult$Infopoint")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
344 GRAAL_ONLY(template(com_oracle_graal_api_code_CompilationResult_Site, "com/oracle/graal/api/code/CompilationResult$Site")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
345 GRAAL_ONLY(template(com_oracle_graal_api_code_InfopointReason, "com/oracle/graal/api/code/InfopointReason")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
346 GRAAL_ONLY(template(com_oracle_graal_api_code_InstalledCode, "com/oracle/graal/api/code/InstalledCode")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
347 GRAAL_ONLY(template(com_oracle_graal_api_code_BytecodeFrame, "com/oracle/graal/api/code/BytecodeFrame")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
348 GRAAL_ONLY(template(com_oracle_graal_api_code_BytecodePosition, "com/oracle/graal/api/code/BytecodePosition")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
349 GRAAL_ONLY(template(com_oracle_graal_api_code_DebugInfo, "com/oracle/graal/api/code/DebugInfo")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
350 GRAAL_ONLY(template(com_oracle_graal_api_code_Register, "com/oracle/graal/api/code/Register")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
351 GRAAL_ONLY(template(com_oracle_graal_api_code_RegisterValue, "com/oracle/graal/api/code/RegisterValue")) \
16996
6ea6d4c260c8 [SPARC/AMD64] Fixing handling of floatingpoint register handling
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 16589
diff changeset
352 GRAAL_ONLY(template(com_oracle_graal_api_code_Register_RegisterCategory, "com/oracle/graal/api/code/Register$RegisterCategory")) \
16398
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
353 GRAAL_ONLY(template(com_oracle_graal_api_code_StackSlot, "com/oracle/graal/api/code/StackSlot")) \
19602
b6beb2161e7a Move stack monitor value into api.code
Tom Rodriguez <tom.rodriguez@oracle.com>
parents: 19306
diff changeset
354 GRAAL_ONLY(template(com_oracle_graal_api_code_StackLockValue, "com/oracle/graal/api/code/StackLockValue")) \
16398
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
355 GRAAL_ONLY(template(com_oracle_graal_api_code_VirtualObject, "com/oracle/graal/api/code/VirtualObject")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
356 GRAAL_ONLY(template(com_oracle_graal_api_code_RegisterSaveLayout, "com/oracle/graal/api/code/RegisterSaveLayout")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
357 GRAAL_ONLY(template(com_oracle_graal_api_code_InvalidInstalledCodeException, "com/oracle/graal/api/code/InvalidInstalledCodeException")) \
c5ab3fbec257 made Graal symbol declarations conditional upon GRAAL macro
Doug Simon <doug.simon@oracle.com>
parents: 16395
diff changeset
358 GRAAL_ONLY(template(com_oracle_graal_api_code_SpeculationLog, "com/oracle/graal/api/code/SpeculationLog")) \
21526
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
359 GRAAL_ONLY(template(compileMetaspaceMethod_name, "compileMetaspaceMethod")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
360 GRAAL_ONLY(template(compileMetaspaceMethod_signature, "(JIJI)V")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
361 GRAAL_ONLY(template(graal_mirror_name, "graal_mirror")) \
1da7aef31a08 created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21410
diff changeset
362 GRAAL_ONLY(template(com_oracle_graal_hotspot_jvmci_Stable_signature, "Lcom/oracle/graal/hotspot/jvmci/Stable;")) \
16006
66a9286203a2 decoupled Graal runtime initialization and Graal compilation queue initialization
Doug Simon <doug.simon@oracle.com>
parents: 15626
diff changeset
363 \
710
e5b0439ef4ae 6655638: dynamic languages need method handles
jrose
parents: 681
diff changeset
364 /* common method and field names */ \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
365 template(object_initializer_name, "<init>") \
a61af66fc99e Initial load
duke
parents:
diff changeset
366 template(class_initializer_name, "<clinit>") \
a61af66fc99e Initial load
duke
parents:
diff changeset
367 template(println_name, "println") \
a61af66fc99e Initial load
duke
parents:
diff changeset
368 template(printStackTrace_name, "printStackTrace") \
a61af66fc99e Initial load
duke
parents:
diff changeset
369 template(main_name, "main") \
a61af66fc99e Initial load
duke
parents:
diff changeset
370 template(name_name, "name") \
a61af66fc99e Initial load
duke
parents:
diff changeset
371 template(priority_name, "priority") \
a61af66fc99e Initial load
duke
parents:
diff changeset
372 template(stillborn_name, "stillborn") \
a61af66fc99e Initial load
duke
parents:
diff changeset
373 template(group_name, "group") \
a61af66fc99e Initial load
duke
parents:
diff changeset
374 template(daemon_name, "daemon") \
a61af66fc99e Initial load
duke
parents:
diff changeset
375 template(eetop_name, "eetop") \
a61af66fc99e Initial load
duke
parents:
diff changeset
376 template(thread_status_name, "threadStatus") \
a61af66fc99e Initial load
duke
parents:
diff changeset
377 template(run_method_name, "run") \
a61af66fc99e Initial load
duke
parents:
diff changeset
378 template(exit_method_name, "exit") \
a61af66fc99e Initial load
duke
parents:
diff changeset
379 template(add_method_name, "add") \
4916
1b0e0f8be510 7131006: java/lang/management/ThreadMXBean/ThreadLists.java
minqi
parents: 4773
diff changeset
380 template(remove_method_name, "remove") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
381 template(parent_name, "parent") \
a61af66fc99e Initial load
duke
parents:
diff changeset
382 template(threads_name, "threads") \
a61af66fc99e Initial load
duke
parents:
diff changeset
383 template(groups_name, "groups") \
a61af66fc99e Initial load
duke
parents:
diff changeset
384 template(maxPriority_name, "maxPriority") \
a61af66fc99e Initial load
duke
parents:
diff changeset
385 template(destroyed_name, "destroyed") \
a61af66fc99e Initial load
duke
parents:
diff changeset
386 template(vmAllowSuspension_name, "vmAllowSuspension") \
a61af66fc99e Initial load
duke
parents:
diff changeset
387 template(nthreads_name, "nthreads") \
a61af66fc99e Initial load
duke
parents:
diff changeset
388 template(ngroups_name, "ngroups") \
a61af66fc99e Initial load
duke
parents:
diff changeset
389 template(shutdown_method_name, "shutdown") \
a61af66fc99e Initial load
duke
parents:
diff changeset
390 template(finalize_method_name, "finalize") \
a61af66fc99e Initial load
duke
parents:
diff changeset
391 template(reference_lock_name, "lock") \
a61af66fc99e Initial load
duke
parents:
diff changeset
392 template(reference_discovered_name, "discovered") \
4773
4f25538b54c9 7120511: Add diagnostic commands
fparain
parents: 3962
diff changeset
393 template(run_finalization_name, "runFinalization") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
394 template(run_finalizers_on_exit_name, "runFinalizersOnExit") \
a61af66fc99e Initial load
duke
parents:
diff changeset
395 template(uncaughtException_name, "uncaughtException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
396 template(dispatchUncaughtException_name, "dispatchUncaughtException") \
a61af66fc99e Initial load
duke
parents:
diff changeset
397 template(initializeSystemClass_name, "initializeSystemClass") \
a61af66fc99e Initial load
duke
parents:
diff changeset
398 template(loadClass_name, "loadClass") \
a61af66fc99e Initial load
duke
parents:
diff changeset
399 template(loadClassInternal_name, "loadClassInternal") \
a61af66fc99e Initial load
duke
parents:
diff changeset
400 template(get_name, "get") \
a61af66fc99e Initial load
duke
parents:
diff changeset
401 template(put_name, "put") \
a61af66fc99e Initial load
duke
parents:
diff changeset
402 template(type_name, "type") \
a61af66fc99e Initial load
duke
parents:
diff changeset
403 template(findNative_name, "findNative") \
a61af66fc99e Initial load
duke
parents:
diff changeset
404 template(deadChild_name, "deadChild") \
6751
2a48c84f1d04 7197269: NPG: FollowReferences has no ClassLoader -> Class link to follow
coleenp
parents: 6725
diff changeset
405 template(addClass_name, "addClass") \
13403
9d15b81d5d1b 8016839: JSR292: AME instead of IAE when calling a method
drchase
parents: 13385
diff changeset
406 template(throwIllegalAccessError_name, "throwIllegalAccessError") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
407 template(getFromClass_name, "getFromClass") \
a61af66fc99e Initial load
duke
parents:
diff changeset
408 template(dispatch_name, "dispatch") \
a61af66fc99e Initial load
duke
parents:
diff changeset
409 template(getSystemClassLoader_name, "getSystemClassLoader") \
a61af66fc99e Initial load
duke
parents:
diff changeset
410 template(fillInStackTrace_name, "fillInStackTrace") \
2476
6a615eae2f34 7034585: Adjust fillInStackTrace filtering to assist 6998871
dholmes
parents: 2357
diff changeset
411 template(fillInStackTrace0_name, "fillInStackTrace0") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
412 template(getCause_name, "getCause") \
a61af66fc99e Initial load
duke
parents:
diff changeset
413 template(initCause_name, "initCause") \
a61af66fc99e Initial load
duke
parents:
diff changeset
414 template(setProperty_name, "setProperty") \
a61af66fc99e Initial load
duke
parents:
diff changeset
415 template(getProperty_name, "getProperty") \
a61af66fc99e Initial load
duke
parents:
diff changeset
416 template(context_name, "context") \
a61af66fc99e Initial load
duke
parents:
diff changeset
417 template(privilegedContext_name, "privilegedContext") \
a61af66fc99e Initial load
duke
parents:
diff changeset
418 template(contextClassLoader_name, "contextClassLoader") \
a61af66fc99e Initial load
duke
parents:
diff changeset
419 template(inheritedAccessControlContext_name, "inheritedAccessControlContext") \
a61af66fc99e Initial load
duke
parents:
diff changeset
420 template(isPrivileged_name, "isPrivileged") \
11010
b295e132102d 8001330: Improve on checking order
mullan
parents: 8866
diff changeset
421 template(isAuthorized_name, "isAuthorized") \
8866
16885e702c88 7198429: need checked categorization of caller-sensitive methods in the JDK
twisti
parents: 7955
diff changeset
422 template(getClassContext_name, "getClassContext") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
423 template(wait_name, "wait") \
a61af66fc99e Initial load
duke
parents:
diff changeset
424 template(checkPackageAccess_name, "checkPackageAccess") \
a61af66fc99e Initial load
duke
parents:
diff changeset
425 template(stackSize_name, "stackSize") \
a61af66fc99e Initial load
duke
parents:
diff changeset
426 template(thread_id_name, "tid") \
a61af66fc99e Initial load
duke
parents:
diff changeset
427 template(newInstance0_name, "newInstance0") \
a61af66fc99e Initial load
duke
parents:
diff changeset
428 template(limit_name, "limit") \
12010
ca0165daa6ec 7187554: JSR 292: JVMTI PopFrame needs to handle appendix arguments
sspitsyn
parents: 11154
diff changeset
429 template(member_name, "member") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
430 template(forName_name, "forName") \
a61af66fc99e Initial load
duke
parents:
diff changeset
431 template(forName0_name, "forName0") \
a61af66fc99e Initial load
duke
parents:
diff changeset
432 template(isJavaIdentifierStart_name, "isJavaIdentifierStart") \
a61af66fc99e Initial load
duke
parents:
diff changeset
433 template(isJavaIdentifierPart_name, "isJavaIdentifierPart") \
a61af66fc99e Initial load
duke
parents:
diff changeset
434 template(exclusive_owner_thread_name, "exclusiveOwnerThread") \
a61af66fc99e Initial load
duke
parents:
diff changeset
435 template(park_blocker_name, "parkBlocker") \
a61af66fc99e Initial load
duke
parents:
diff changeset
436 template(park_event_name, "nativeParkEventPointer") \
17
ff5961f4c095 6395208: Elide autoboxing for calls to HashMap.get(int) and HashMap.get(long)
never
parents: 0
diff changeset
437 template(cache_field_name, "cache") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
438 template(value_name, "value") \
6057
8f972594effc 6924259: Remove String.count/String.offset
kvn
parents: 6006
diff changeset
439 template(offset_name, "offset") \
8f972594effc 6924259: Remove String.count/String.offset
kvn
parents: 6006
diff changeset
440 template(count_name, "count") \
8f972594effc 6924259: Remove String.count/String.offset
kvn
parents: 6006
diff changeset
441 template(hash_name, "hash") \
775
93c14e5562c4 6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents: 726
diff changeset
442 template(numberOfLeadingZeros_name, "numberOfLeadingZeros") \
93c14e5562c4 6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents: 726
diff changeset
443 template(numberOfTrailingZeros_name, "numberOfTrailingZeros") \
643
c771b7f43bbf 6378821: bitCount() should use POPC on SPARC processors and AMD+10h
twisti
parents: 514
diff changeset
444 template(bitCount_name, "bitCount") \
675
f6da6f0174ac 6821700: tune VM flags for peak performance
kvn
parents: 669
diff changeset
445 template(profile_name, "profile") \
681
fbde8ec322d0 6761600: Use sse 4.2 in intrinsics
cfang
parents: 676
diff changeset
446 template(equals_name, "equals") \
3476
65981c23c1d6 Fixed bootstrap (lowered compilation threshold and register more methods for compilation)
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3464
diff changeset
447 template(length_name, "length") \
726
be93aad57795 6655646: dynamic languages need dynamically linked call sites
jrose
parents: 710
diff changeset
448 template(target_name, "target") \
710
e5b0439ef4ae 6655638: dynamic languages need method handles
jrose
parents: 681
diff changeset
449 template(toString_name, "toString") \
e5b0439ef4ae 6655638: dynamic languages need method handles
jrose
parents: 681
diff changeset
450 template(values_name, "values") \
e5b0439ef4ae 6655638: dynamic languages need method handles
jrose
parents: 681
diff changeset
451 template(receiver_name, "receiver") \
e5b0439ef4ae 6655638: dynamic languages need method handles
jrose
parents: 681
diff changeset
452 template(vmtarget_name, "vmtarget") \
6725
da91efe96a93 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 6271
diff changeset
453 template(next_target_name, "next_target") \
da91efe96a93 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 6271
diff changeset
454 template(vmloader_name, "vmloader") \
6266
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
455 template(vmindex_name, "vmindex") \
3905
c26de9aef2ed 7071307: MethodHandle bimorphic inlining should consider the frequency
never
parents: 3900
diff changeset
456 template(vmcount_name, "vmcount") \
6266
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
457 template(vmentry_name, "vmentry") \
710
e5b0439ef4ae 6655638: dynamic languages need method handles
jrose
parents: 681
diff changeset
458 template(flags_name, "flags") \
e5b0439ef4ae 6655638: dynamic languages need method handles
jrose
parents: 681
diff changeset
459 template(rtype_name, "rtype") \
e5b0439ef4ae 6655638: dynamic languages need method handles
jrose
parents: 681
diff changeset
460 template(ptypes_name, "ptypes") \
e5b0439ef4ae 6655638: dynamic languages need method handles
jrose
parents: 681
diff changeset
461 template(form_name, "form") \
6266
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
462 template(basicType_name, "basicType") \
1080
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
463 template(append_name, "append") \
3938
e6b1331a51d2 7086585: make Java field injection more flexible
never
parents: 3905
diff changeset
464 template(klass_name, "klass") \
e6b1331a51d2 7086585: make Java field injection more flexible
never
parents: 3905
diff changeset
465 template(array_klass_name, "array_klass") \
e6b1331a51d2 7086585: make Java field injection more flexible
never
parents: 3905
diff changeset
466 template(oop_size_name, "oop_size") \
e6b1331a51d2 7086585: make Java field injection more flexible
never
parents: 3905
diff changeset
467 template(static_oop_field_count_name, "static_oop_field_count") \
10343
6bd680e9ea35 8003421: NPG: Move oops out of InstanceKlass into mirror
coleenp
parents: 10280
diff changeset
468 template(protection_domain_name, "protection_domain") \
6bd680e9ea35 8003421: NPG: Move oops out of InstanceKlass into mirror
coleenp
parents: 10280
diff changeset
469 template(init_lock_name, "init_lock") \
6bd680e9ea35 8003421: NPG: Move oops out of InstanceKlass into mirror
coleenp
parents: 10280
diff changeset
470 template(signers_name, "signers_name") \
6725
da91efe96a93 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 6271
diff changeset
471 template(loader_data_name, "loader_data") \
da91efe96a93 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 6271
diff changeset
472 template(dependencies_name, "dependencies") \
20375
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
473 template(input_stream_void_signature, "(Ljava/io/InputStream;)V") \
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
474 template(getFileURL_name, "getFileURL") \
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
475 template(getFileURL_signature, "(Ljava/io/File;)Ljava/net/URL;") \
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
476 template(definePackageInternal_name, "definePackageInternal") \
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
477 template(definePackageInternal_signature, "(Ljava/lang/String;Ljava/util/jar/Manifest;Ljava/net/URL;)V") \
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
478 template(getProtectionDomain_name, "getProtectionDomain") \
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
479 template(getProtectionDomain_signature, "(Ljava/security/CodeSource;)Ljava/security/ProtectionDomain;") \
6e0cb14ce59b 8046070: Class Data Sharing clean up and refactoring
iklam
parents: 20313
diff changeset
480 template(url_code_signer_array_void_signature, "(Ljava/net/URL;[Ljava/security/CodeSigner;)V") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
481 \
a61af66fc99e Initial load
duke
parents:
diff changeset
482 /* non-intrinsic name/signature pairs: */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
483 template(register_method_name, "register") \
a61af66fc99e Initial load
duke
parents:
diff changeset
484 do_alias(register_method_signature, object_void_signature) \
a61af66fc99e Initial load
duke
parents:
diff changeset
485 \
a61af66fc99e Initial load
duke
parents:
diff changeset
486 /* name symbols needed by intrinsics */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
487 VM_INTRINSICS_DO(VM_INTRINSIC_IGNORE, VM_SYMBOL_IGNORE, template, VM_SYMBOL_IGNORE, VM_ALIAS_IGNORE) \
a61af66fc99e Initial load
duke
parents:
diff changeset
488 \
a61af66fc99e Initial load
duke
parents:
diff changeset
489 /* common signatures names */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
490 template(void_method_signature, "()V") \
1133
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
491 template(void_boolean_signature, "()Z") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
492 template(void_byte_signature, "()B") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
493 template(void_char_signature, "()C") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
494 template(void_short_signature, "()S") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
495 template(void_int_signature, "()I") \
a61af66fc99e Initial load
duke
parents:
diff changeset
496 template(void_long_signature, "()J") \
1133
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
497 template(void_float_signature, "()F") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
498 template(void_double_signature, "()D") \
3650
0e8a2a629afb Pass-by compilation broker.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 3632
diff changeset
499 template(bool_void_signature, "(Z)V") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
500 template(int_void_signature, "(I)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
501 template(int_int_signature, "(I)I") \
1396
d7f654633cfe 6946040: add intrinsic for short and char reverseBytes
never
parents: 1144
diff changeset
502 template(char_char_signature, "(C)C") \
d7f654633cfe 6946040: add intrinsic for short and char reverseBytes
never
parents: 1144
diff changeset
503 template(short_short_signature, "(S)S") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
504 template(int_bool_signature, "(I)Z") \
a61af66fc99e Initial load
duke
parents:
diff changeset
505 template(float_int_signature, "(F)I") \
a61af66fc99e Initial load
duke
parents:
diff changeset
506 template(double_long_signature, "(D)J") \
a61af66fc99e Initial load
duke
parents:
diff changeset
507 template(double_double_signature, "(D)D") \
a61af66fc99e Initial load
duke
parents:
diff changeset
508 template(int_float_signature, "(I)F") \
643
c771b7f43bbf 6378821: bitCount() should use POPC on SPARC processors and AMD+10h
twisti
parents: 514
diff changeset
509 template(long_int_signature, "(J)I") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
510 template(long_long_signature, "(J)J") \
a61af66fc99e Initial load
duke
parents:
diff changeset
511 template(long_double_signature, "(J)D") \
a61af66fc99e Initial load
duke
parents:
diff changeset
512 template(byte_signature, "B") \
a61af66fc99e Initial load
duke
parents:
diff changeset
513 template(char_signature, "C") \
a61af66fc99e Initial load
duke
parents:
diff changeset
514 template(double_signature, "D") \
a61af66fc99e Initial load
duke
parents:
diff changeset
515 template(float_signature, "F") \
a61af66fc99e Initial load
duke
parents:
diff changeset
516 template(int_signature, "I") \
a61af66fc99e Initial load
duke
parents:
diff changeset
517 template(long_signature, "J") \
a61af66fc99e Initial load
duke
parents:
diff changeset
518 template(short_signature, "S") \
a61af66fc99e Initial load
duke
parents:
diff changeset
519 template(bool_signature, "Z") \
a61af66fc99e Initial load
duke
parents:
diff changeset
520 template(void_signature, "V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
521 template(byte_array_signature, "[B") \
a61af66fc99e Initial load
duke
parents:
diff changeset
522 template(char_array_signature, "[C") \
3363
167b70ff3abc 6939861: JVM should handle more conversion operations
never
parents: 3261
diff changeset
523 template(int_array_signature, "[I") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
524 template(object_void_signature, "(Ljava/lang/Object;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
525 template(object_int_signature, "(Ljava/lang/Object;)I") \
a61af66fc99e Initial load
duke
parents:
diff changeset
526 template(object_boolean_signature, "(Ljava/lang/Object;)Z") \
a61af66fc99e Initial load
duke
parents:
diff changeset
527 template(string_void_signature, "(Ljava/lang/String;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
528 template(string_int_signature, "(Ljava/lang/String;)I") \
a61af66fc99e Initial load
duke
parents:
diff changeset
529 template(throwable_void_signature, "(Ljava/lang/Throwable;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
530 template(void_throwable_signature, "()Ljava/lang/Throwable;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
531 template(throwable_throwable_signature, "(Ljava/lang/Throwable;)Ljava/lang/Throwable;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
532 template(class_void_signature, "(Ljava/lang/Class;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
533 template(class_int_signature, "(Ljava/lang/Class;)I") \
6006
0105f367a14c 7160570: Intrinsification support for tracing framework
rbackman
parents: 5895
diff changeset
534 template(class_long_signature, "(Ljava/lang/Class;)J") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
535 template(class_boolean_signature, "(Ljava/lang/Class;)Z") \
a61af66fc99e Initial load
duke
parents:
diff changeset
536 template(throwable_string_void_signature, "(Ljava/lang/Throwable;Ljava/lang/String;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
537 template(string_array_void_signature, "([Ljava/lang/String;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
538 template(string_array_string_array_void_signature, "([Ljava/lang/String;[Ljava/lang/String;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
539 template(thread_throwable_void_signature, "(Ljava/lang/Thread;Ljava/lang/Throwable;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
540 template(thread_void_signature, "(Ljava/lang/Thread;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
541 template(threadgroup_runnable_void_signature, "(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
542 template(threadgroup_string_void_signature, "(Ljava/lang/ThreadGroup;Ljava/lang/String;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
543 template(string_class_signature, "(Ljava/lang/String;)Ljava/lang/Class;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
544 template(object_object_object_signature, "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
545 template(string_string_string_signature, "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
546 template(string_string_signature, "(Ljava/lang/String;)Ljava/lang/String;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
547 template(classloader_string_long_signature, "(Ljava/lang/ClassLoader;Ljava/lang/String;)J") \
a61af66fc99e Initial load
duke
parents:
diff changeset
548 template(byte_array_void_signature, "([B)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
549 template(char_array_void_signature, "([C)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
550 template(int_int_void_signature, "(II)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
551 template(long_long_void_signature, "(JJ)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
552 template(void_classloader_signature, "()Ljava/lang/ClassLoader;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
553 template(void_object_signature, "()Ljava/lang/Object;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
554 template(void_class_signature, "()Ljava/lang/Class;") \
8866
16885e702c88 7198429: need checked categorization of caller-sensitive methods in the JDK
twisti
parents: 7955
diff changeset
555 template(void_class_array_signature, "()[Ljava/lang/Class;") \
1507
cd5dbf694d45 6939134: JSR 292 adjustments to method handle invocation
jrose
parents: 1396
diff changeset
556 template(void_string_signature, "()Ljava/lang/String;") \
cd5dbf694d45 6939134: JSR 292 adjustments to method handle invocation
jrose
parents: 1396
diff changeset
557 template(object_array_object_signature, "([Ljava/lang/Object;)Ljava/lang/Object;") \
cd5dbf694d45 6939134: JSR 292 adjustments to method handle invocation
jrose
parents: 1396
diff changeset
558 template(object_object_array_object_signature, "(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;")\
0
a61af66fc99e Initial load
duke
parents:
diff changeset
559 template(exception_void_signature, "(Ljava/lang/Exception;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
560 template(protectiondomain_signature, "[Ljava/security/ProtectionDomain;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
561 template(accesscontrolcontext_signature, "Ljava/security/AccessControlContext;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
562 template(class_protectiondomain_signature, "(Ljava/lang/Class;Ljava/security/ProtectionDomain;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
563 template(thread_signature, "Ljava/lang/Thread;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
564 template(thread_array_signature, "[Ljava/lang/Thread;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
565 template(threadgroup_signature, "Ljava/lang/ThreadGroup;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
566 template(threadgroup_array_signature, "[Ljava/lang/ThreadGroup;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
567 template(class_array_signature, "[Ljava/lang/Class;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
568 template(classloader_signature, "Ljava/lang/ClassLoader;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
569 template(object_signature, "Ljava/lang/Object;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
570 template(class_signature, "Ljava/lang/Class;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
571 template(string_signature, "Ljava/lang/String;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
572 template(reference_signature, "Ljava/lang/ref/Reference;") \
7462
ade95d680b42 8004728: Add hotspot support for parameter reflection
coleenp
parents: 7458
diff changeset
573 template(executable_signature, "Ljava/lang/reflect/Executable;") \
514
c81d2ef51ca3 4670071: loadClassInternal is too restrictive.
acorn
parents: 196
diff changeset
574 template(concurrenthashmap_signature, "Ljava/util/concurrent/ConcurrentHashMap;") \
1080
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
575 template(String_StringBuilder_signature, "(Ljava/lang/String;)Ljava/lang/StringBuilder;") \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
576 template(int_StringBuilder_signature, "(I)Ljava/lang/StringBuilder;") \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
577 template(char_StringBuilder_signature, "(C)Ljava/lang/StringBuilder;") \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
578 template(String_StringBuffer_signature, "(Ljava/lang/String;)Ljava/lang/StringBuffer;") \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
579 template(int_StringBuffer_signature, "(I)Ljava/lang/StringBuffer;") \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
580 template(char_StringBuffer_signature, "(C)Ljava/lang/StringBuffer;") \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
581 template(int_String_signature, "(I)Ljava/lang/String;") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
582 /* signature symbols needed by intrinsics */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
583 VM_INTRINSICS_DO(VM_INTRINSIC_IGNORE, VM_SYMBOL_IGNORE, VM_SYMBOL_IGNORE, template, VM_ALIAS_IGNORE) \
a61af66fc99e Initial load
duke
parents:
diff changeset
584 \
a61af66fc99e Initial load
duke
parents:
diff changeset
585 /* symbol aliases needed by intrinsics */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
586 VM_INTRINSICS_DO(VM_INTRINSIC_IGNORE, VM_SYMBOL_IGNORE, VM_SYMBOL_IGNORE, VM_SYMBOL_IGNORE, do_alias) \
a61af66fc99e Initial load
duke
parents:
diff changeset
587 \
a61af66fc99e Initial load
duke
parents:
diff changeset
588 /* returned by the C1 compiler in case there's not enough memory to allocate a new symbol*/ \
2177
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
589 template(dummy_symbol, "illegal symbol") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
590 \
a61af66fc99e Initial load
duke
parents:
diff changeset
591 /* used by ClassFormatError when class name is not known yet */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
592 template(unknown_class_name, "<Unknown>") \
a61af66fc99e Initial load
duke
parents:
diff changeset
593 \
514
c81d2ef51ca3 4670071: loadClassInternal is too restrictive.
acorn
parents: 196
diff changeset
594 /* used to identify class loaders handling parallel class loading */ \
653
e55bcaf3a6a1 6819853: VM does not detect JDK which supports parallel class loaders
acorn
parents: 579
diff changeset
595 template(parallelCapable_name, "parallelLockMap") \
514
c81d2ef51ca3 4670071: loadClassInternal is too restrictive.
acorn
parents: 196
diff changeset
596 \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
597 /* JVM monitoring and management support */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
598 template(java_lang_StackTraceElement_array, "[Ljava/lang/StackTraceElement;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
599 template(java_lang_management_ThreadState, "java/lang/management/ThreadState") \
a61af66fc99e Initial load
duke
parents:
diff changeset
600 template(java_lang_management_MemoryUsage, "java/lang/management/MemoryUsage") \
a61af66fc99e Initial load
duke
parents:
diff changeset
601 template(java_lang_management_ThreadInfo, "java/lang/management/ThreadInfo") \
a61af66fc99e Initial load
duke
parents:
diff changeset
602 template(sun_management_ManagementFactory, "sun/management/ManagementFactory") \
a61af66fc99e Initial load
duke
parents:
diff changeset
603 template(sun_management_Sensor, "sun/management/Sensor") \
a61af66fc99e Initial load
duke
parents:
diff changeset
604 template(sun_management_Agent, "sun/management/Agent") \
10215
31a4e55f8c9d 8004095: Add support for JMX interface to Diagnostic Framework and Commands
fparain
parents: 8866
diff changeset
605 template(sun_management_DiagnosticCommandImpl, "sun/management/DiagnosticCommandImpl") \
3356
78542e2b5e35 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
fparain
parents: 3261
diff changeset
606 template(sun_management_GarbageCollectorImpl, "sun/management/GarbageCollectorImpl") \
10215
31a4e55f8c9d 8004095: Add support for JMX interface to Diagnostic Framework and Commands
fparain
parents: 8866
diff changeset
607 template(sun_management_ManagementFactoryHelper, "sun/management/ManagementFactoryHelper") \
31a4e55f8c9d 8004095: Add support for JMX interface to Diagnostic Framework and Commands
fparain
parents: 8866
diff changeset
608 template(getDiagnosticCommandMBean_name, "getDiagnosticCommandMBean") \
31a4e55f8c9d 8004095: Add support for JMX interface to Diagnostic Framework and Commands
fparain
parents: 8866
diff changeset
609 template(getDiagnosticCommandMBean_signature, "()Lcom/sun/management/DiagnosticCommandMBean;") \
3356
78542e2b5e35 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
fparain
parents: 3261
diff changeset
610 template(getGcInfoBuilder_name, "getGcInfoBuilder") \
78542e2b5e35 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
fparain
parents: 3261
diff changeset
611 template(getGcInfoBuilder_signature, "()Lsun/management/GcInfoBuilder;") \
78542e2b5e35 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
fparain
parents: 3261
diff changeset
612 template(com_sun_management_GcInfo, "com/sun/management/GcInfo") \
78542e2b5e35 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
fparain
parents: 3261
diff changeset
613 template(com_sun_management_GcInfo_constructor_signature, "(Lsun/management/GcInfoBuilder;JJJ[Ljava/lang/management/MemoryUsage;[Ljava/lang/management/MemoryUsage;[Ljava/lang/Object;)V") \
78542e2b5e35 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
fparain
parents: 3261
diff changeset
614 template(createGCNotification_name, "createGCNotification") \
78542e2b5e35 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
fparain
parents: 3261
diff changeset
615 template(createGCNotification_signature, "(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/sun/management/GcInfo;)V") \
10215
31a4e55f8c9d 8004095: Add support for JMX interface to Diagnostic Framework and Commands
fparain
parents: 8866
diff changeset
616 template(createDiagnosticFrameworkNotification_name, "createDiagnosticFrameworkNotification") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
617 template(createMemoryPoolMBean_name, "createMemoryPoolMBean") \
a61af66fc99e Initial load
duke
parents:
diff changeset
618 template(createMemoryManagerMBean_name, "createMemoryManagerMBean") \
a61af66fc99e Initial load
duke
parents:
diff changeset
619 template(createGarbageCollectorMBean_name, "createGarbageCollectorMBean") \
a61af66fc99e Initial load
duke
parents:
diff changeset
620 template(createMemoryPoolMBean_signature, "(Ljava/lang/String;ZJJ)Ljava/lang/management/MemoryPoolMBean;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
621 template(createMemoryManagerMBean_signature, "(Ljava/lang/String;)Ljava/lang/management/MemoryManagerMBean;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
622 template(createGarbageCollectorMBean_signature, "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/management/GarbageCollectorMBean;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
623 template(trigger_name, "trigger") \
a61af66fc99e Initial load
duke
parents:
diff changeset
624 template(clear_name, "clear") \
a61af66fc99e Initial load
duke
parents:
diff changeset
625 template(trigger_method_signature, "(ILjava/lang/management/MemoryUsage;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
626 template(startAgent_name, "startAgent") \
5895
645162d94294 7110104: It should be possible to stop and start JMX Agent at runtime
dsamersoff
parents: 4916
diff changeset
627 template(startRemoteAgent_name, "startRemoteManagementAgent") \
645162d94294 7110104: It should be possible to stop and start JMX Agent at runtime
dsamersoff
parents: 4916
diff changeset
628 template(startLocalAgent_name, "startLocalManagementAgent") \
645162d94294 7110104: It should be possible to stop and start JMX Agent at runtime
dsamersoff
parents: 4916
diff changeset
629 template(stopRemoteAgent_name, "stopRemoteManagementAgent") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
630 template(java_lang_management_ThreadInfo_constructor_signature, "(Ljava/lang/Thread;ILjava/lang/Object;Ljava/lang/Thread;JJJJ[Ljava/lang/StackTraceElement;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
631 template(java_lang_management_ThreadInfo_with_locks_constructor_signature, "(Ljava/lang/Thread;ILjava/lang/Object;Ljava/lang/Thread;JJJJ[Ljava/lang/StackTraceElement;[Ljava/lang/Object;[I[Ljava/lang/Object;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
632 template(long_long_long_long_void_signature, "(JJJJ)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
633 \
a61af66fc99e Initial load
duke
parents:
diff changeset
634 template(java_lang_management_MemoryPoolMXBean, "java/lang/management/MemoryPoolMXBean") \
a61af66fc99e Initial load
duke
parents:
diff changeset
635 template(java_lang_management_MemoryManagerMXBean, "java/lang/management/MemoryManagerMXBean") \
a61af66fc99e Initial load
duke
parents:
diff changeset
636 template(java_lang_management_GarbageCollectorMXBean,"java/lang/management/GarbageCollectorMXBean") \
3356
78542e2b5e35 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
fparain
parents: 3261
diff changeset
637 template(gcInfoBuilder_name, "gcInfoBuilder") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
638 template(createMemoryPool_name, "createMemoryPool") \
a61af66fc99e Initial load
duke
parents:
diff changeset
639 template(createMemoryManager_name, "createMemoryManager") \
a61af66fc99e Initial load
duke
parents:
diff changeset
640 template(createGarbageCollector_name, "createGarbageCollector") \
a61af66fc99e Initial load
duke
parents:
diff changeset
641 template(createMemoryPool_signature, "(Ljava/lang/String;ZJJ)Ljava/lang/management/MemoryPoolMXBean;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
642 template(createMemoryManager_signature, "(Ljava/lang/String;)Ljava/lang/management/MemoryManagerMXBean;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
643 template(createGarbageCollector_signature, "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/management/GarbageCollectorMXBean;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
644 template(addThreadDumpForMonitors_name, "addThreadDumpForMonitors") \
a61af66fc99e Initial load
duke
parents:
diff changeset
645 template(addThreadDumpForSynchronizers_name, "addThreadDumpForSynchronizers") \
a61af66fc99e Initial load
duke
parents:
diff changeset
646 template(addThreadDumpForMonitors_signature, "(Ljava/lang/management/ThreadInfo;[Ljava/lang/Object;[I)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
647 template(addThreadDumpForSynchronizers_signature, "(Ljava/lang/management/ThreadInfo;[Ljava/lang/Object;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
648 \
a61af66fc99e Initial load
duke
parents:
diff changeset
649 /* JVMTI/java.lang.instrument support and VM Attach mechanism */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
650 template(sun_misc_VMSupport, "sun/misc/VMSupport") \
a61af66fc99e Initial load
duke
parents:
diff changeset
651 template(appendToClassPathForInstrumentation_name, "appendToClassPathForInstrumentation") \
a61af66fc99e Initial load
duke
parents:
diff changeset
652 do_alias(appendToClassPathForInstrumentation_signature, string_void_signature) \
a61af66fc99e Initial load
duke
parents:
diff changeset
653 template(serializePropertiesToByteArray_name, "serializePropertiesToByteArray") \
a61af66fc99e Initial load
duke
parents:
diff changeset
654 template(serializePropertiesToByteArray_signature, "()[B") \
a61af66fc99e Initial load
duke
parents:
diff changeset
655 template(serializeAgentPropertiesToByteArray_name, "serializeAgentPropertiesToByteArray") \
a61af66fc99e Initial load
duke
parents:
diff changeset
656 template(classRedefinedCount_name, "classRedefinedCount") \
20415
47e3110c47e8 6642881: Improve performance of Class.getClassLoader()
coleenp
parents: 20375
diff changeset
657 template(classLoader_name, "classLoader") \
6006
0105f367a14c 7160570: Intrinsification support for tracing framework
rbackman
parents: 5895
diff changeset
658 \
0105f367a14c 7160570: Intrinsification support for tracing framework
rbackman
parents: 5895
diff changeset
659 /* trace signatures */ \
0105f367a14c 7160570: Intrinsification support for tracing framework
rbackman
parents: 5895
diff changeset
660 TRACE_TEMPLATES(template) \
0105f367a14c 7160570: Intrinsification support for tracing framework
rbackman
parents: 5895
diff changeset
661 \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
662 /*end*/
a61af66fc99e Initial load
duke
parents:
diff changeset
663
a61af66fc99e Initial load
duke
parents:
diff changeset
664 // Here are all the intrinsics known to the runtime and the CI.
a61af66fc99e Initial load
duke
parents:
diff changeset
665 // Each intrinsic consists of a public enum name (like _hashCode),
a61af66fc99e Initial load
duke
parents:
diff changeset
666 // followed by a specification of its klass, name, and signature:
a61af66fc99e Initial load
duke
parents:
diff changeset
667 // template(<id>, <klass>, <name>, <sig>, <FCODE>)
a61af66fc99e Initial load
duke
parents:
diff changeset
668 //
a61af66fc99e Initial load
duke
parents:
diff changeset
669 // If you add an intrinsic here, you must also define its name
a61af66fc99e Initial load
duke
parents:
diff changeset
670 // and signature as members of the VM symbols. The VM symbols for
a61af66fc99e Initial load
duke
parents:
diff changeset
671 // the intrinsic name and signature may be defined above.
a61af66fc99e Initial load
duke
parents:
diff changeset
672 //
a61af66fc99e Initial load
duke
parents:
diff changeset
673 // Because the VM_SYMBOLS_DO macro makes reference to VM_INTRINSICS_DO,
a61af66fc99e Initial load
duke
parents:
diff changeset
674 // you can also define an intrinsic's name and/or signature locally to the
a61af66fc99e Initial load
duke
parents:
diff changeset
675 // intrinsic, if this makes sense. (It often does make sense.)
a61af66fc99e Initial load
duke
parents:
diff changeset
676 //
a61af66fc99e Initial load
duke
parents:
diff changeset
677 // For example:
a61af66fc99e Initial load
duke
parents:
diff changeset
678 // do_intrinsic(_foo, java_lang_Object, foo_name, foo_signature, F_xx)
a61af66fc99e Initial load
duke
parents:
diff changeset
679 // do_name( foo_name, "foo")
a61af66fc99e Initial load
duke
parents:
diff changeset
680 // do_signature(foo_signature, "()F")
a61af66fc99e Initial load
duke
parents:
diff changeset
681 // klass = vmSymbols::java_lang_Object()
a61af66fc99e Initial load
duke
parents:
diff changeset
682 // name = vmSymbols::foo_name()
a61af66fc99e Initial load
duke
parents:
diff changeset
683 // signature = vmSymbols::foo_signature()
a61af66fc99e Initial load
duke
parents:
diff changeset
684 //
a61af66fc99e Initial load
duke
parents:
diff changeset
685 // The name and/or signature might be a "well known" symbol
a61af66fc99e Initial load
duke
parents:
diff changeset
686 // like "equal" or "()I", in which case there will be no local
a61af66fc99e Initial load
duke
parents:
diff changeset
687 // re-definition of the symbol.
a61af66fc99e Initial load
duke
parents:
diff changeset
688 //
a61af66fc99e Initial load
duke
parents:
diff changeset
689 // The do_class, do_name, and do_signature calls are all used for the
a61af66fc99e Initial load
duke
parents:
diff changeset
690 // same purpose: Define yet another VM symbol. They could all be merged
a61af66fc99e Initial load
duke
parents:
diff changeset
691 // into a common 'do_symbol' call, but it seems useful to record our
a61af66fc99e Initial load
duke
parents:
diff changeset
692 // intentions here about kinds of symbols (class vs. name vs. signature).
a61af66fc99e Initial load
duke
parents:
diff changeset
693 //
a61af66fc99e Initial load
duke
parents:
diff changeset
694 // The F_xx is one of the Flags enum; see below.
a61af66fc99e Initial load
duke
parents:
diff changeset
695 //
a61af66fc99e Initial load
duke
parents:
diff changeset
696 // for Emacs: (let ((c-backslash-column 120) (c-backslash-max-column 120)) (c-backslash-region (point) (point-max) nil t))
a61af66fc99e Initial load
duke
parents:
diff changeset
697 #define VM_INTRINSICS_DO(do_intrinsic, do_class, do_name, do_signature, do_alias) \
a61af66fc99e Initial load
duke
parents:
diff changeset
698 do_intrinsic(_hashCode, java_lang_Object, hashCode_name, void_int_signature, F_R) \
a61af66fc99e Initial load
duke
parents:
diff changeset
699 do_name( hashCode_name, "hashCode") \
a61af66fc99e Initial load
duke
parents:
diff changeset
700 do_intrinsic(_getClass, java_lang_Object, getClass_name, void_class_signature, F_R) \
a61af66fc99e Initial load
duke
parents:
diff changeset
701 do_name( getClass_name, "getClass") \
a61af66fc99e Initial load
duke
parents:
diff changeset
702 do_intrinsic(_clone, java_lang_Object, clone_name, void_object_signature, F_R) \
a61af66fc99e Initial load
duke
parents:
diff changeset
703 do_name( clone_name, "clone") \
a61af66fc99e Initial load
duke
parents:
diff changeset
704 \
a61af66fc99e Initial load
duke
parents:
diff changeset
705 /* Math & StrictMath intrinsics are defined in terms of just a few signatures: */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
706 do_class(java_lang_Math, "java/lang/Math") \
a61af66fc99e Initial load
duke
parents:
diff changeset
707 do_class(java_lang_StrictMath, "java/lang/StrictMath") \
a61af66fc99e Initial load
duke
parents:
diff changeset
708 do_signature(double2_double_signature, "(DD)D") \
a61af66fc99e Initial load
duke
parents:
diff changeset
709 do_signature(int2_int_signature, "(II)I") \
12972
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
710 do_signature(long2_long_signature, "(JJ)J") \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
711 \
a61af66fc99e Initial load
duke
parents:
diff changeset
712 /* here are the math names, all together: */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
713 do_name(abs_name,"abs") do_name(sin_name,"sin") do_name(cos_name,"cos") \
a61af66fc99e Initial load
duke
parents:
diff changeset
714 do_name(tan_name,"tan") do_name(atan2_name,"atan2") do_name(sqrt_name,"sqrt") \
a61af66fc99e Initial load
duke
parents:
diff changeset
715 do_name(log_name,"log") do_name(log10_name,"log10") do_name(pow_name,"pow") \
a61af66fc99e Initial load
duke
parents:
diff changeset
716 do_name(exp_name,"exp") do_name(min_name,"min") do_name(max_name,"max") \
a61af66fc99e Initial load
duke
parents:
diff changeset
717 \
12323
c9ccd7b85f20 8024924: Intrinsify java.lang.Math.addExact
rbackman
parents: 12190
diff changeset
718 do_name(addExact_name,"addExact") \
12972
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
719 do_name(decrementExact_name,"decrementExact") \
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
720 do_name(incrementExact_name,"incrementExact") \
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
721 do_name(multiplyExact_name,"multiplyExact") \
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
722 do_name(negateExact_name,"negateExact") \
12323
c9ccd7b85f20 8024924: Intrinsify java.lang.Math.addExact
rbackman
parents: 12190
diff changeset
723 do_name(subtractExact_name,"subtractExact") \
c9ccd7b85f20 8024924: Intrinsify java.lang.Math.addExact
rbackman
parents: 12190
diff changeset
724 \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
725 do_intrinsic(_dabs, java_lang_Math, abs_name, double_double_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
726 do_intrinsic(_dsin, java_lang_Math, sin_name, double_double_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
727 do_intrinsic(_dcos, java_lang_Math, cos_name, double_double_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
728 do_intrinsic(_dtan, java_lang_Math, tan_name, double_double_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
729 do_intrinsic(_datan2, java_lang_Math, atan2_name, double2_double_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
730 do_intrinsic(_dsqrt, java_lang_Math, sqrt_name, double_double_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
731 do_intrinsic(_dlog, java_lang_Math, log_name, double_double_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
732 do_intrinsic(_dlog10, java_lang_Math, log10_name, double_double_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
733 do_intrinsic(_dpow, java_lang_Math, pow_name, double2_double_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
734 do_intrinsic(_dexp, java_lang_Math, exp_name, double_double_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
735 do_intrinsic(_min, java_lang_Math, min_name, int2_int_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
736 do_intrinsic(_max, java_lang_Math, max_name, int2_int_signature, F_S) \
12972
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
737 do_intrinsic(_addExactI, java_lang_Math, addExact_name, int2_int_signature, F_S) \
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
738 do_intrinsic(_addExactL, java_lang_Math, addExact_name, long2_long_signature, F_S) \
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
739 do_intrinsic(_decrementExactI, java_lang_Math, decrementExact_name, int_int_signature, F_S) \
14234
68343762fd63 8031115: intrinsics for Math.decrementExact(J) and incrementExact(J) don't work
iignatyev
parents: 13403
diff changeset
740 do_intrinsic(_decrementExactL, java_lang_Math, decrementExact_name, long_long_signature, F_S) \
12972
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
741 do_intrinsic(_incrementExactI, java_lang_Math, incrementExact_name, int_int_signature, F_S) \
14234
68343762fd63 8031115: intrinsics for Math.decrementExact(J) and incrementExact(J) don't work
iignatyev
parents: 13403
diff changeset
742 do_intrinsic(_incrementExactL, java_lang_Math, incrementExact_name, long_long_signature, F_S) \
12972
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
743 do_intrinsic(_multiplyExactI, java_lang_Math, multiplyExact_name, int2_int_signature, F_S) \
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
744 do_intrinsic(_multiplyExactL, java_lang_Math, multiplyExact_name, long2_long_signature, F_S) \
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
745 do_intrinsic(_negateExactI, java_lang_Math, negateExact_name, int_int_signature, F_S) \
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
746 do_intrinsic(_negateExactL, java_lang_Math, negateExact_name, long_long_signature, F_S) \
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
747 do_intrinsic(_subtractExactI, java_lang_Math, subtractExact_name, int2_int_signature, F_S) \
59e8ad757e19 8026844: Various Math functions needs intrinsification
rbackman
parents: 12333
diff changeset
748 do_intrinsic(_subtractExactL, java_lang_Math, subtractExact_name, long2_long_signature, F_S) \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
749 \
a61af66fc99e Initial load
duke
parents:
diff changeset
750 do_intrinsic(_floatToRawIntBits, java_lang_Float, floatToRawIntBits_name, float_int_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
751 do_name( floatToRawIntBits_name, "floatToRawIntBits") \
a61af66fc99e Initial load
duke
parents:
diff changeset
752 do_intrinsic(_floatToIntBits, java_lang_Float, floatToIntBits_name, float_int_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
753 do_name( floatToIntBits_name, "floatToIntBits") \
a61af66fc99e Initial load
duke
parents:
diff changeset
754 do_intrinsic(_intBitsToFloat, java_lang_Float, intBitsToFloat_name, int_float_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
755 do_name( intBitsToFloat_name, "intBitsToFloat") \
a61af66fc99e Initial load
duke
parents:
diff changeset
756 do_intrinsic(_doubleToRawLongBits, java_lang_Double, doubleToRawLongBits_name, double_long_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
757 do_name( doubleToRawLongBits_name, "doubleToRawLongBits") \
a61af66fc99e Initial load
duke
parents:
diff changeset
758 do_intrinsic(_doubleToLongBits, java_lang_Double, doubleToLongBits_name, double_long_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
759 do_name( doubleToLongBits_name, "doubleToLongBits") \
a61af66fc99e Initial load
duke
parents:
diff changeset
760 do_intrinsic(_longBitsToDouble, java_lang_Double, longBitsToDouble_name, long_double_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
761 do_name( longBitsToDouble_name, "longBitsToDouble") \
643
c771b7f43bbf 6378821: bitCount() should use POPC on SPARC processors and AMD+10h
twisti
parents: 514
diff changeset
762 \
775
93c14e5562c4 6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents: 726
diff changeset
763 do_intrinsic(_numberOfLeadingZeros_i, java_lang_Integer, numberOfLeadingZeros_name,int_int_signature, F_S) \
93c14e5562c4 6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents: 726
diff changeset
764 do_intrinsic(_numberOfLeadingZeros_l, java_lang_Long, numberOfLeadingZeros_name,long_int_signature, F_S) \
93c14e5562c4 6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents: 726
diff changeset
765 \
93c14e5562c4 6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents: 726
diff changeset
766 do_intrinsic(_numberOfTrailingZeros_i, java_lang_Integer, numberOfTrailingZeros_name,int_int_signature, F_S) \
93c14e5562c4 6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents: 726
diff changeset
767 do_intrinsic(_numberOfTrailingZeros_l, java_lang_Long, numberOfTrailingZeros_name,long_int_signature, F_S) \
93c14e5562c4 6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
twisti
parents: 726
diff changeset
768 \
643
c771b7f43bbf 6378821: bitCount() should use POPC on SPARC processors and AMD+10h
twisti
parents: 514
diff changeset
769 do_intrinsic(_bitCount_i, java_lang_Integer, bitCount_name, int_int_signature, F_S) \
c771b7f43bbf 6378821: bitCount() should use POPC on SPARC processors and AMD+10h
twisti
parents: 514
diff changeset
770 do_intrinsic(_bitCount_l, java_lang_Long, bitCount_name, long_int_signature, F_S) \
c771b7f43bbf 6378821: bitCount() should use POPC on SPARC processors and AMD+10h
twisti
parents: 514
diff changeset
771 \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
772 do_intrinsic(_reverseBytes_i, java_lang_Integer, reverseBytes_name, int_int_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
773 do_name( reverseBytes_name, "reverseBytes") \
a61af66fc99e Initial load
duke
parents:
diff changeset
774 do_intrinsic(_reverseBytes_l, java_lang_Long, reverseBytes_name, long_long_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
775 /* (symbol reverseBytes_name defined above) */ \
1396
d7f654633cfe 6946040: add intrinsic for short and char reverseBytes
never
parents: 1144
diff changeset
776 do_intrinsic(_reverseBytes_c, java_lang_Character, reverseBytes_name, char_char_signature, F_S) \
d7f654633cfe 6946040: add intrinsic for short and char reverseBytes
never
parents: 1144
diff changeset
777 /* (symbol reverseBytes_name defined above) */ \
d7f654633cfe 6946040: add intrinsic for short and char reverseBytes
never
parents: 1144
diff changeset
778 do_intrinsic(_reverseBytes_s, java_lang_Short, reverseBytes_name, short_short_signature, F_S) \
d7f654633cfe 6946040: add intrinsic for short and char reverseBytes
never
parents: 1144
diff changeset
779 /* (symbol reverseBytes_name defined above) */ \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
780 \
a61af66fc99e Initial load
duke
parents:
diff changeset
781 do_intrinsic(_identityHashCode, java_lang_System, identityHashCode_name, object_int_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
782 do_name( identityHashCode_name, "identityHashCode") \
a61af66fc99e Initial load
duke
parents:
diff changeset
783 do_intrinsic(_currentTimeMillis, java_lang_System, currentTimeMillis_name, void_long_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
784 \
a61af66fc99e Initial load
duke
parents:
diff changeset
785 do_name( currentTimeMillis_name, "currentTimeMillis") \
a61af66fc99e Initial load
duke
parents:
diff changeset
786 do_intrinsic(_nanoTime, java_lang_System, nanoTime_name, void_long_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
787 do_name( nanoTime_name, "nanoTime") \
a61af66fc99e Initial load
duke
parents:
diff changeset
788 \
6006
0105f367a14c 7160570: Intrinsification support for tracing framework
rbackman
parents: 5895
diff changeset
789 TRACE_INTRINSICS(do_intrinsic, do_class, do_name, do_signature, do_alias) \
0105f367a14c 7160570: Intrinsification support for tracing framework
rbackman
parents: 5895
diff changeset
790 \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
791 do_intrinsic(_arraycopy, java_lang_System, arraycopy_name, arraycopy_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
792 do_name( arraycopy_name, "arraycopy") \
a61af66fc99e Initial load
duke
parents:
diff changeset
793 do_signature(arraycopy_signature, "(Ljava/lang/Object;ILjava/lang/Object;II)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
794 do_intrinsic(_isInterrupted, java_lang_Thread, isInterrupted_name, isInterrupted_signature, F_R) \
a61af66fc99e Initial load
duke
parents:
diff changeset
795 do_name( isInterrupted_name, "isInterrupted") \
a61af66fc99e Initial load
duke
parents:
diff changeset
796 do_signature(isInterrupted_signature, "(Z)Z") \
a61af66fc99e Initial load
duke
parents:
diff changeset
797 do_intrinsic(_currentThread, java_lang_Thread, currentThread_name, currentThread_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
798 do_name( currentThread_name, "currentThread") \
a61af66fc99e Initial load
duke
parents:
diff changeset
799 do_signature(currentThread_signature, "()Ljava/lang/Thread;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
800 \
a61af66fc99e Initial load
duke
parents:
diff changeset
801 /* reflective intrinsics, for java/lang/Class, etc. */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
802 do_intrinsic(_isAssignableFrom, java_lang_Class, isAssignableFrom_name, class_boolean_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
803 do_name( isAssignableFrom_name, "isAssignableFrom") \
a61af66fc99e Initial load
duke
parents:
diff changeset
804 do_intrinsic(_isInstance, java_lang_Class, isInstance_name, object_boolean_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
805 do_name( isInstance_name, "isInstance") \
a61af66fc99e Initial load
duke
parents:
diff changeset
806 do_intrinsic(_getModifiers, java_lang_Class, getModifiers_name, void_int_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
807 do_name( getModifiers_name, "getModifiers") \
a61af66fc99e Initial load
duke
parents:
diff changeset
808 do_intrinsic(_isInterface, java_lang_Class, isInterface_name, void_boolean_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
809 do_name( isInterface_name, "isInterface") \
a61af66fc99e Initial load
duke
parents:
diff changeset
810 do_intrinsic(_isArray, java_lang_Class, isArray_name, void_boolean_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
811 do_name( isArray_name, "isArray") \
a61af66fc99e Initial load
duke
parents:
diff changeset
812 do_intrinsic(_isPrimitive, java_lang_Class, isPrimitive_name, void_boolean_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
813 do_name( isPrimitive_name, "isPrimitive") \
a61af66fc99e Initial load
duke
parents:
diff changeset
814 do_intrinsic(_getSuperclass, java_lang_Class, getSuperclass_name, void_class_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
815 do_name( getSuperclass_name, "getSuperclass") \
a61af66fc99e Initial load
duke
parents:
diff changeset
816 do_intrinsic(_getComponentType, java_lang_Class, getComponentType_name, void_class_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
817 do_name( getComponentType_name, "getComponentType") \
a61af66fc99e Initial load
duke
parents:
diff changeset
818 \
a61af66fc99e Initial load
duke
parents:
diff changeset
819 do_intrinsic(_getClassAccessFlags, sun_reflect_Reflection, getClassAccessFlags_name, class_int_signature, F_SN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
820 do_name( getClassAccessFlags_name, "getClassAccessFlags") \
a61af66fc99e Initial load
duke
parents:
diff changeset
821 do_intrinsic(_getLength, java_lang_reflect_Array, getLength_name, object_int_signature, F_SN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
822 do_name( getLength_name, "getLength") \
a61af66fc99e Initial load
duke
parents:
diff changeset
823 \
8866
16885e702c88 7198429: need checked categorization of caller-sensitive methods in the JDK
twisti
parents: 7955
diff changeset
824 do_intrinsic(_getCallerClass, sun_reflect_Reflection, getCallerClass_name, void_class_signature, F_SN) \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
825 do_name( getCallerClass_name, "getCallerClass") \
a61af66fc99e Initial load
duke
parents:
diff changeset
826 \
a61af66fc99e Initial load
duke
parents:
diff changeset
827 do_intrinsic(_newArray, java_lang_reflect_Array, newArray_name, newArray_signature, F_SN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
828 do_name( newArray_name, "newArray") \
a61af66fc99e Initial load
duke
parents:
diff changeset
829 do_signature(newArray_signature, "(Ljava/lang/Class;I)Ljava/lang/Object;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
830 \
a61af66fc99e Initial load
duke
parents:
diff changeset
831 do_intrinsic(_copyOf, java_util_Arrays, copyOf_name, copyOf_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
832 do_name( copyOf_name, "copyOf") \
a61af66fc99e Initial load
duke
parents:
diff changeset
833 do_signature(copyOf_signature, "([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
834 \
a61af66fc99e Initial load
duke
parents:
diff changeset
835 do_intrinsic(_copyOfRange, java_util_Arrays, copyOfRange_name, copyOfRange_signature, F_S) \
a61af66fc99e Initial load
duke
parents:
diff changeset
836 do_name( copyOfRange_name, "copyOfRange") \
a61af66fc99e Initial load
duke
parents:
diff changeset
837 do_signature(copyOfRange_signature, "([Ljava/lang/Object;IILjava/lang/Class;)[Ljava/lang/Object;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
838 \
169
9148c65abefc 6695049: (coll) Create an x86 intrinsic for Arrays.equals
rasbold
parents: 45
diff changeset
839 do_intrinsic(_equalsC, java_util_Arrays, equals_name, equalsC_signature, F_S) \
9148c65abefc 6695049: (coll) Create an x86 intrinsic for Arrays.equals
rasbold
parents: 45
diff changeset
840 do_signature(equalsC_signature, "([C[C)Z") \
9148c65abefc 6695049: (coll) Create an x86 intrinsic for Arrays.equals
rasbold
parents: 45
diff changeset
841 \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
842 do_intrinsic(_compareTo, java_lang_String, compareTo_name, string_int_signature, F_R) \
a61af66fc99e Initial load
duke
parents:
diff changeset
843 do_name( compareTo_name, "compareTo") \
a61af66fc99e Initial load
duke
parents:
diff changeset
844 do_intrinsic(_indexOf, java_lang_String, indexOf_name, string_int_signature, F_R) \
a61af66fc99e Initial load
duke
parents:
diff changeset
845 do_name( indexOf_name, "indexOf") \
681
fbde8ec322d0 6761600: Use sse 4.2 in intrinsics
cfang
parents: 676
diff changeset
846 do_intrinsic(_equals, java_lang_String, equals_name, object_boolean_signature, F_R) \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
847 \
a61af66fc99e Initial load
duke
parents:
diff changeset
848 do_class(java_nio_Buffer, "java/nio/Buffer") \
a61af66fc99e Initial load
duke
parents:
diff changeset
849 do_intrinsic(_checkIndex, java_nio_Buffer, checkIndex_name, int_int_signature, F_R) \
a61af66fc99e Initial load
duke
parents:
diff changeset
850 do_name( checkIndex_name, "checkIndex") \
a61af66fc99e Initial load
duke
parents:
diff changeset
851 \
7637
b30b3c2a0cf2 6896617: Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() on x86
kvn
parents: 7615
diff changeset
852 do_class(sun_nio_cs_iso8859_1_Encoder, "sun/nio/cs/ISO_8859_1$Encoder") \
b30b3c2a0cf2 6896617: Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() on x86
kvn
parents: 7615
diff changeset
853 do_intrinsic(_encodeISOArray, sun_nio_cs_iso8859_1_Encoder, encodeISOArray_name, encodeISOArray_signature, F_S) \
b30b3c2a0cf2 6896617: Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() on x86
kvn
parents: 7615
diff changeset
854 do_name( encodeISOArray_name, "encodeISOArray") \
b30b3c2a0cf2 6896617: Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() on x86
kvn
parents: 7615
diff changeset
855 do_signature(encodeISOArray_signature, "([CI[BII)I") \
b30b3c2a0cf2 6896617: Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() on x86
kvn
parents: 7615
diff changeset
856 \
20438
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 20415
diff changeset
857 do_class(java_math_BigInteger, "java/math/BigInteger") \
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 20415
diff changeset
858 do_intrinsic(_multiplyToLen, java_math_BigInteger, multiplyToLen_name, multiplyToLen_signature, F_R) \
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 20415
diff changeset
859 do_name( multiplyToLen_name, "multiplyToLen") \
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 20415
diff changeset
860 do_signature(multiplyToLen_signature, "([II[II[I)[I") \
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 20415
diff changeset
861 \
3249
e1162778c1c8 7009266: G1: assert(obj->is_oop_or_null(true )) failed: Error
johnc
parents: 2357
diff changeset
862 /* java/lang/ref/Reference */ \
e1162778c1c8 7009266: G1: assert(obj->is_oop_or_null(true )) failed: Error
johnc
parents: 2357
diff changeset
863 do_intrinsic(_Reference_get, java_lang_ref_Reference, get_name, void_object_signature, F_R) \
e1162778c1c8 7009266: G1: assert(obj->is_oop_or_null(true )) failed: Error
johnc
parents: 2357
diff changeset
864 \
17910
03214612e77e 8035936: SIGBUS in StubRoutines::aesencryptBlock, solaris-sparc
kvn
parents: 14261
diff changeset
865 /* support for com.sun.crypto.provider.AESCrypt and some of its callers */ \
6894
a3ecd773a7b9 7184394: add intrinsics to use AES instructions
kvn
parents: 6847
diff changeset
866 do_class(com_sun_crypto_provider_aescrypt, "com/sun/crypto/provider/AESCrypt") \
a3ecd773a7b9 7184394: add intrinsics to use AES instructions
kvn
parents: 6847
diff changeset
867 do_intrinsic(_aescrypt_encryptBlock, com_sun_crypto_provider_aescrypt, encryptBlock_name, byteArray_int_byteArray_int_signature, F_R) \
a3ecd773a7b9 7184394: add intrinsics to use AES instructions
kvn
parents: 6847
diff changeset
868 do_intrinsic(_aescrypt_decryptBlock, com_sun_crypto_provider_aescrypt, decryptBlock_name, byteArray_int_byteArray_int_signature, F_R) \
a3ecd773a7b9 7184394: add intrinsics to use AES instructions
kvn
parents: 6847
diff changeset
869 do_name( encryptBlock_name, "encryptBlock") \
a3ecd773a7b9 7184394: add intrinsics to use AES instructions
kvn
parents: 6847
diff changeset
870 do_name( decryptBlock_name, "decryptBlock") \
a3ecd773a7b9 7184394: add intrinsics to use AES instructions
kvn
parents: 6847
diff changeset
871 do_signature(byteArray_int_byteArray_int_signature, "([BI[BI)V") \
a3ecd773a7b9 7184394: add intrinsics to use AES instructions
kvn
parents: 6847
diff changeset
872 \
a3ecd773a7b9 7184394: add intrinsics to use AES instructions
kvn
parents: 6847
diff changeset
873 do_class(com_sun_crypto_provider_cipherBlockChaining, "com/sun/crypto/provider/CipherBlockChaining") \
a3ecd773a7b9 7184394: add intrinsics to use AES instructions
kvn
parents: 6847
diff changeset
874 do_intrinsic(_cipherBlockChaining_encryptAESCrypt, com_sun_crypto_provider_cipherBlockChaining, encrypt_name, byteArray_int_int_byteArray_int_signature, F_R) \
a3ecd773a7b9 7184394: add intrinsics to use AES instructions
kvn
parents: 6847
diff changeset
875 do_intrinsic(_cipherBlockChaining_decryptAESCrypt, com_sun_crypto_provider_cipherBlockChaining, decrypt_name, byteArray_int_int_byteArray_int_signature, F_R) \
a3ecd773a7b9 7184394: add intrinsics to use AES instructions
kvn
parents: 6847
diff changeset
876 do_name( encrypt_name, "encrypt") \
a3ecd773a7b9 7184394: add intrinsics to use AES instructions
kvn
parents: 6847
diff changeset
877 do_name( decrypt_name, "decrypt") \
14261
00f5eff62d18 8002074: Support for AES on SPARC
kvn
parents: 14234
diff changeset
878 do_signature(byteArray_int_int_byteArray_int_signature, "([BII[BI)I") \
6894
a3ecd773a7b9 7184394: add intrinsics to use AES instructions
kvn
parents: 6847
diff changeset
879 \
20313
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
880 /* support for sun.security.provider.SHA */ \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
881 do_class(sun_security_provider_sha, "sun/security/provider/SHA") \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
882 do_intrinsic(_sha_implCompress, sun_security_provider_sha, implCompress_name, implCompress_signature, F_R) \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
883 do_name( implCompress_name, "implCompress") \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
884 do_signature(implCompress_signature, "([BI)V") \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
885 \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
886 /* support for sun.security.provider.SHA2 */ \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
887 do_class(sun_security_provider_sha2, "sun/security/provider/SHA2") \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
888 do_intrinsic(_sha2_implCompress, sun_security_provider_sha2, implCompress_name, implCompress_signature, F_R) \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
889 \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
890 /* support for sun.security.provider.SHA5 */ \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
891 do_class(sun_security_provider_sha5, "sun/security/provider/SHA5") \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
892 do_intrinsic(_sha5_implCompress, sun_security_provider_sha5, implCompress_name, implCompress_signature, F_R) \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
893 \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
894 /* support for sun.security.provider.DigestBase */ \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
895 do_class(sun_security_provider_digestbase, "sun/security/provider/DigestBase") \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
896 do_intrinsic(_digestBase_implCompressMB, sun_security_provider_digestbase, implCompressMB_name, implCompressMB_signature, F_R) \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
897 do_name( implCompressMB_name, "implCompressMultiBlock") \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
898 do_signature(implCompressMB_signature, "([BII)I") \
b20a35eae442 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents: 17910
diff changeset
899 \
11080
b800986664f4 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents: 11019
diff changeset
900 /* support for java.util.zip */ \
b800986664f4 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents: 11019
diff changeset
901 do_class(java_util_zip_CRC32, "java/util/zip/CRC32") \
b800986664f4 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents: 11019
diff changeset
902 do_intrinsic(_updateCRC32, java_util_zip_CRC32, update_name, int2_int_signature, F_SN) \
b800986664f4 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents: 11019
diff changeset
903 do_name( update_name, "update") \
b800986664f4 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents: 11019
diff changeset
904 do_intrinsic(_updateBytesCRC32, java_util_zip_CRC32, updateBytes_name, updateBytes_signature, F_SN) \
b800986664f4 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents: 11019
diff changeset
905 do_name( updateBytes_name, "updateBytes") \
b800986664f4 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents: 11019
diff changeset
906 do_signature(updateBytes_signature, "(I[BII)I") \
b800986664f4 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents: 11019
diff changeset
907 do_intrinsic(_updateByteBufferCRC32, java_util_zip_CRC32, updateByteBuffer_name, updateByteBuffer_signature, F_SN) \
b800986664f4 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents: 11019
diff changeset
908 do_name( updateByteBuffer_name, "updateByteBuffer") \
b800986664f4 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents: 11019
diff changeset
909 do_signature(updateByteBuffer_signature, "(IJII)I") \
b800986664f4 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents: 11019
diff changeset
910 \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
911 /* support for sun.misc.Unsafe */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
912 do_class(sun_misc_Unsafe, "sun/misc/Unsafe") \
a61af66fc99e Initial load
duke
parents:
diff changeset
913 \
a61af66fc99e Initial load
duke
parents:
diff changeset
914 do_intrinsic(_allocateInstance, sun_misc_Unsafe, allocateInstance_name, allocateInstance_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
915 do_name( allocateInstance_name, "allocateInstance") \
a61af66fc99e Initial load
duke
parents:
diff changeset
916 do_signature(allocateInstance_signature, "(Ljava/lang/Class;)Ljava/lang/Object;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
917 do_intrinsic(_copyMemory, sun_misc_Unsafe, copyMemory_name, copyMemory_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
918 do_name( copyMemory_name, "copyMemory") \
a61af66fc99e Initial load
duke
parents:
diff changeset
919 do_signature(copyMemory_signature, "(Ljava/lang/Object;JLjava/lang/Object;JJ)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
920 do_intrinsic(_park, sun_misc_Unsafe, park_name, park_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
921 do_name( park_name, "park") \
a61af66fc99e Initial load
duke
parents:
diff changeset
922 do_signature(park_signature, "(ZJ)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
923 do_intrinsic(_unpark, sun_misc_Unsafe, unpark_name, unpark_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
924 do_name( unpark_name, "unpark") \
a61af66fc99e Initial load
duke
parents:
diff changeset
925 do_alias( unpark_signature, /*(LObject;)V*/ object_void_signature) \
7425
1e41b0bc58a0 8004318: JEP-171: Support Unsafe fences intrinsics
kvn
parents: 6935
diff changeset
926 do_intrinsic(_loadFence, sun_misc_Unsafe, loadFence_name, loadFence_signature, F_RN) \
1e41b0bc58a0 8004318: JEP-171: Support Unsafe fences intrinsics
kvn
parents: 6935
diff changeset
927 do_name( loadFence_name, "loadFence") \
1e41b0bc58a0 8004318: JEP-171: Support Unsafe fences intrinsics
kvn
parents: 6935
diff changeset
928 do_alias( loadFence_signature, void_method_signature) \
1e41b0bc58a0 8004318: JEP-171: Support Unsafe fences intrinsics
kvn
parents: 6935
diff changeset
929 do_intrinsic(_storeFence, sun_misc_Unsafe, storeFence_name, storeFence_signature, F_RN) \
1e41b0bc58a0 8004318: JEP-171: Support Unsafe fences intrinsics
kvn
parents: 6935
diff changeset
930 do_name( storeFence_name, "storeFence") \
1e41b0bc58a0 8004318: JEP-171: Support Unsafe fences intrinsics
kvn
parents: 6935
diff changeset
931 do_alias( storeFence_signature, void_method_signature) \
1e41b0bc58a0 8004318: JEP-171: Support Unsafe fences intrinsics
kvn
parents: 6935
diff changeset
932 do_intrinsic(_fullFence, sun_misc_Unsafe, fullFence_name, fullFence_signature, F_RN) \
1e41b0bc58a0 8004318: JEP-171: Support Unsafe fences intrinsics
kvn
parents: 6935
diff changeset
933 do_name( fullFence_name, "fullFence") \
1e41b0bc58a0 8004318: JEP-171: Support Unsafe fences intrinsics
kvn
parents: 6935
diff changeset
934 do_alias( fullFence_signature, void_method_signature) \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
935 \
a61af66fc99e Initial load
duke
parents:
diff changeset
936 /* unsafe memory references (there are a lot of them...) */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
937 do_signature(getObject_signature, "(Ljava/lang/Object;J)Ljava/lang/Object;") \
a61af66fc99e Initial load
duke
parents:
diff changeset
938 do_signature(putObject_signature, "(Ljava/lang/Object;JLjava/lang/Object;)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
939 do_signature(getBoolean_signature, "(Ljava/lang/Object;J)Z") \
a61af66fc99e Initial load
duke
parents:
diff changeset
940 do_signature(putBoolean_signature, "(Ljava/lang/Object;JZ)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
941 do_signature(getByte_signature, "(Ljava/lang/Object;J)B") \
a61af66fc99e Initial load
duke
parents:
diff changeset
942 do_signature(putByte_signature, "(Ljava/lang/Object;JB)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
943 do_signature(getShort_signature, "(Ljava/lang/Object;J)S") \
a61af66fc99e Initial load
duke
parents:
diff changeset
944 do_signature(putShort_signature, "(Ljava/lang/Object;JS)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
945 do_signature(getChar_signature, "(Ljava/lang/Object;J)C") \
a61af66fc99e Initial load
duke
parents:
diff changeset
946 do_signature(putChar_signature, "(Ljava/lang/Object;JC)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
947 do_signature(getInt_signature, "(Ljava/lang/Object;J)I") \
a61af66fc99e Initial load
duke
parents:
diff changeset
948 do_signature(putInt_signature, "(Ljava/lang/Object;JI)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
949 do_signature(getLong_signature, "(Ljava/lang/Object;J)J") \
a61af66fc99e Initial load
duke
parents:
diff changeset
950 do_signature(putLong_signature, "(Ljava/lang/Object;JJ)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
951 do_signature(getFloat_signature, "(Ljava/lang/Object;J)F") \
a61af66fc99e Initial load
duke
parents:
diff changeset
952 do_signature(putFloat_signature, "(Ljava/lang/Object;JF)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
953 do_signature(getDouble_signature, "(Ljava/lang/Object;J)D") \
a61af66fc99e Initial load
duke
parents:
diff changeset
954 do_signature(putDouble_signature, "(Ljava/lang/Object;JD)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
955 \
a61af66fc99e Initial load
duke
parents:
diff changeset
956 do_name(getObject_name,"getObject") do_name(putObject_name,"putObject") \
a61af66fc99e Initial load
duke
parents:
diff changeset
957 do_name(getBoolean_name,"getBoolean") do_name(putBoolean_name,"putBoolean") \
a61af66fc99e Initial load
duke
parents:
diff changeset
958 do_name(getByte_name,"getByte") do_name(putByte_name,"putByte") \
a61af66fc99e Initial load
duke
parents:
diff changeset
959 do_name(getShort_name,"getShort") do_name(putShort_name,"putShort") \
a61af66fc99e Initial load
duke
parents:
diff changeset
960 do_name(getChar_name,"getChar") do_name(putChar_name,"putChar") \
a61af66fc99e Initial load
duke
parents:
diff changeset
961 do_name(getInt_name,"getInt") do_name(putInt_name,"putInt") \
a61af66fc99e Initial load
duke
parents:
diff changeset
962 do_name(getLong_name,"getLong") do_name(putLong_name,"putLong") \
a61af66fc99e Initial load
duke
parents:
diff changeset
963 do_name(getFloat_name,"getFloat") do_name(putFloat_name,"putFloat") \
a61af66fc99e Initial load
duke
parents:
diff changeset
964 do_name(getDouble_name,"getDouble") do_name(putDouble_name,"putDouble") \
a61af66fc99e Initial load
duke
parents:
diff changeset
965 \
a61af66fc99e Initial load
duke
parents:
diff changeset
966 do_intrinsic(_getObject, sun_misc_Unsafe, getObject_name, getObject_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
967 do_intrinsic(_getBoolean, sun_misc_Unsafe, getBoolean_name, getBoolean_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
968 do_intrinsic(_getByte, sun_misc_Unsafe, getByte_name, getByte_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
969 do_intrinsic(_getShort, sun_misc_Unsafe, getShort_name, getShort_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
970 do_intrinsic(_getChar, sun_misc_Unsafe, getChar_name, getChar_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
971 do_intrinsic(_getInt, sun_misc_Unsafe, getInt_name, getInt_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
972 do_intrinsic(_getLong, sun_misc_Unsafe, getLong_name, getLong_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
973 do_intrinsic(_getFloat, sun_misc_Unsafe, getFloat_name, getFloat_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
974 do_intrinsic(_getDouble, sun_misc_Unsafe, getDouble_name, getDouble_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
975 do_intrinsic(_putObject, sun_misc_Unsafe, putObject_name, putObject_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
976 do_intrinsic(_putBoolean, sun_misc_Unsafe, putBoolean_name, putBoolean_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
977 do_intrinsic(_putByte, sun_misc_Unsafe, putByte_name, putByte_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
978 do_intrinsic(_putShort, sun_misc_Unsafe, putShort_name, putShort_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
979 do_intrinsic(_putChar, sun_misc_Unsafe, putChar_name, putChar_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
980 do_intrinsic(_putInt, sun_misc_Unsafe, putInt_name, putInt_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
981 do_intrinsic(_putLong, sun_misc_Unsafe, putLong_name, putLong_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
982 do_intrinsic(_putFloat, sun_misc_Unsafe, putFloat_name, putFloat_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
983 do_intrinsic(_putDouble, sun_misc_Unsafe, putDouble_name, putDouble_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
984 \
a61af66fc99e Initial load
duke
parents:
diff changeset
985 do_name(getObjectVolatile_name,"getObjectVolatile") do_name(putObjectVolatile_name,"putObjectVolatile") \
a61af66fc99e Initial load
duke
parents:
diff changeset
986 do_name(getBooleanVolatile_name,"getBooleanVolatile") do_name(putBooleanVolatile_name,"putBooleanVolatile") \
a61af66fc99e Initial load
duke
parents:
diff changeset
987 do_name(getByteVolatile_name,"getByteVolatile") do_name(putByteVolatile_name,"putByteVolatile") \
a61af66fc99e Initial load
duke
parents:
diff changeset
988 do_name(getShortVolatile_name,"getShortVolatile") do_name(putShortVolatile_name,"putShortVolatile") \
a61af66fc99e Initial load
duke
parents:
diff changeset
989 do_name(getCharVolatile_name,"getCharVolatile") do_name(putCharVolatile_name,"putCharVolatile") \
a61af66fc99e Initial load
duke
parents:
diff changeset
990 do_name(getIntVolatile_name,"getIntVolatile") do_name(putIntVolatile_name,"putIntVolatile") \
a61af66fc99e Initial load
duke
parents:
diff changeset
991 do_name(getLongVolatile_name,"getLongVolatile") do_name(putLongVolatile_name,"putLongVolatile") \
a61af66fc99e Initial load
duke
parents:
diff changeset
992 do_name(getFloatVolatile_name,"getFloatVolatile") do_name(putFloatVolatile_name,"putFloatVolatile") \
a61af66fc99e Initial load
duke
parents:
diff changeset
993 do_name(getDoubleVolatile_name,"getDoubleVolatile") do_name(putDoubleVolatile_name,"putDoubleVolatile") \
a61af66fc99e Initial load
duke
parents:
diff changeset
994 \
a61af66fc99e Initial load
duke
parents:
diff changeset
995 do_intrinsic(_getObjectVolatile, sun_misc_Unsafe, getObjectVolatile_name, getObject_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
996 do_intrinsic(_getBooleanVolatile, sun_misc_Unsafe, getBooleanVolatile_name, getBoolean_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
997 do_intrinsic(_getByteVolatile, sun_misc_Unsafe, getByteVolatile_name, getByte_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
998 do_intrinsic(_getShortVolatile, sun_misc_Unsafe, getShortVolatile_name, getShort_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
999 do_intrinsic(_getCharVolatile, sun_misc_Unsafe, getCharVolatile_name, getChar_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1000 do_intrinsic(_getIntVolatile, sun_misc_Unsafe, getIntVolatile_name, getInt_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1001 do_intrinsic(_getLongVolatile, sun_misc_Unsafe, getLongVolatile_name, getLong_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1002 do_intrinsic(_getFloatVolatile, sun_misc_Unsafe, getFloatVolatile_name, getFloat_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1003 do_intrinsic(_getDoubleVolatile, sun_misc_Unsafe, getDoubleVolatile_name, getDouble_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1004 do_intrinsic(_putObjectVolatile, sun_misc_Unsafe, putObjectVolatile_name, putObject_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1005 do_intrinsic(_putBooleanVolatile, sun_misc_Unsafe, putBooleanVolatile_name, putBoolean_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1006 do_intrinsic(_putByteVolatile, sun_misc_Unsafe, putByteVolatile_name, putByte_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1007 do_intrinsic(_putShortVolatile, sun_misc_Unsafe, putShortVolatile_name, putShort_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1008 do_intrinsic(_putCharVolatile, sun_misc_Unsafe, putCharVolatile_name, putChar_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1009 do_intrinsic(_putIntVolatile, sun_misc_Unsafe, putIntVolatile_name, putInt_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1010 do_intrinsic(_putLongVolatile, sun_misc_Unsafe, putLongVolatile_name, putLong_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1011 do_intrinsic(_putFloatVolatile, sun_misc_Unsafe, putFloatVolatile_name, putFloat_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1012 do_intrinsic(_putDoubleVolatile, sun_misc_Unsafe, putDoubleVolatile_name, putDouble_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1013 \
a61af66fc99e Initial load
duke
parents:
diff changeset
1014 /* %%% these are redundant except perhaps for getAddress, but Unsafe has native methods for them */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
1015 do_signature(getByte_raw_signature, "(J)B") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1016 do_signature(putByte_raw_signature, "(JB)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1017 do_signature(getShort_raw_signature, "(J)S") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1018 do_signature(putShort_raw_signature, "(JS)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1019 do_signature(getChar_raw_signature, "(J)C") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1020 do_signature(putChar_raw_signature, "(JC)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1021 do_signature(putInt_raw_signature, "(JI)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1022 do_alias(getLong_raw_signature, /*(J)J*/ long_long_signature) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1023 do_alias(putLong_raw_signature, /*(JJ)V*/ long_long_void_signature) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1024 do_signature(getFloat_raw_signature, "(J)F") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1025 do_signature(putFloat_raw_signature, "(JF)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1026 do_alias(getDouble_raw_signature, /*(J)D*/ long_double_signature) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1027 do_signature(putDouble_raw_signature, "(JD)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1028 do_alias(getAddress_raw_signature, /*(J)J*/ long_long_signature) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1029 do_alias(putAddress_raw_signature, /*(JJ)V*/ long_long_void_signature) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1030 \
a61af66fc99e Initial load
duke
parents:
diff changeset
1031 do_name( getAddress_name, "getAddress") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1032 do_name( putAddress_name, "putAddress") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1033 \
a61af66fc99e Initial load
duke
parents:
diff changeset
1034 do_intrinsic(_getByte_raw, sun_misc_Unsafe, getByte_name, getByte_raw_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1035 do_intrinsic(_getShort_raw, sun_misc_Unsafe, getShort_name, getShort_raw_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1036 do_intrinsic(_getChar_raw, sun_misc_Unsafe, getChar_name, getChar_raw_signature, F_RN) \
643
c771b7f43bbf 6378821: bitCount() should use POPC on SPARC processors and AMD+10h
twisti
parents: 514
diff changeset
1037 do_intrinsic(_getInt_raw, sun_misc_Unsafe, getInt_name, long_int_signature, F_RN) \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1038 do_intrinsic(_getLong_raw, sun_misc_Unsafe, getLong_name, getLong_raw_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1039 do_intrinsic(_getFloat_raw, sun_misc_Unsafe, getFloat_name, getFloat_raw_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1040 do_intrinsic(_getDouble_raw, sun_misc_Unsafe, getDouble_name, getDouble_raw_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1041 do_intrinsic(_getAddress_raw, sun_misc_Unsafe, getAddress_name, getAddress_raw_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1042 do_intrinsic(_putByte_raw, sun_misc_Unsafe, putByte_name, putByte_raw_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1043 do_intrinsic(_putShort_raw, sun_misc_Unsafe, putShort_name, putShort_raw_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1044 do_intrinsic(_putChar_raw, sun_misc_Unsafe, putChar_name, putChar_raw_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1045 do_intrinsic(_putInt_raw, sun_misc_Unsafe, putInt_name, putInt_raw_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1046 do_intrinsic(_putLong_raw, sun_misc_Unsafe, putLong_name, putLong_raw_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1047 do_intrinsic(_putFloat_raw, sun_misc_Unsafe, putFloat_name, putFloat_raw_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1048 do_intrinsic(_putDouble_raw, sun_misc_Unsafe, putDouble_name, putDouble_raw_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1049 do_intrinsic(_putAddress_raw, sun_misc_Unsafe, putAddress_name, putAddress_raw_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1050 \
a61af66fc99e Initial load
duke
parents:
diff changeset
1051 do_intrinsic(_compareAndSwapObject, sun_misc_Unsafe, compareAndSwapObject_name, compareAndSwapObject_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1052 do_name( compareAndSwapObject_name, "compareAndSwapObject") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1053 do_signature(compareAndSwapObject_signature, "(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1054 do_intrinsic(_compareAndSwapLong, sun_misc_Unsafe, compareAndSwapLong_name, compareAndSwapLong_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1055 do_name( compareAndSwapLong_name, "compareAndSwapLong") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1056 do_signature(compareAndSwapLong_signature, "(Ljava/lang/Object;JJJ)Z") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1057 do_intrinsic(_compareAndSwapInt, sun_misc_Unsafe, compareAndSwapInt_name, compareAndSwapInt_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1058 do_name( compareAndSwapInt_name, "compareAndSwapInt") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1059 do_signature(compareAndSwapInt_signature, "(Ljava/lang/Object;JII)Z") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1060 do_intrinsic(_putOrderedObject, sun_misc_Unsafe, putOrderedObject_name, putOrderedObject_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1061 do_name( putOrderedObject_name, "putOrderedObject") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1062 do_alias( putOrderedObject_signature, /*(LObject;JLObject;)V*/ putObject_signature) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1063 do_intrinsic(_putOrderedLong, sun_misc_Unsafe, putOrderedLong_name, putOrderedLong_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1064 do_name( putOrderedLong_name, "putOrderedLong") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1065 do_alias( putOrderedLong_signature, /*(Ljava/lang/Object;JJ)V*/ putLong_signature) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1066 do_intrinsic(_putOrderedInt, sun_misc_Unsafe, putOrderedInt_name, putOrderedInt_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1067 do_name( putOrderedInt_name, "putOrderedInt") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1068 do_alias( putOrderedInt_signature, /*(Ljava/lang/Object;JI)V*/ putInt_signature) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1069 \
6795
7eca5de9e0b6 7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents: 6725
diff changeset
1070 do_intrinsic(_getAndAddInt, sun_misc_Unsafe, getAndAddInt_name, getAndAddInt_signature, F_R) \
7eca5de9e0b6 7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents: 6725
diff changeset
1071 do_name( getAndAddInt_name, "getAndAddInt") \
7eca5de9e0b6 7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents: 6725
diff changeset
1072 do_signature(getAndAddInt_signature, "(Ljava/lang/Object;JI)I" ) \
7eca5de9e0b6 7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents: 6725
diff changeset
1073 do_intrinsic(_getAndAddLong, sun_misc_Unsafe, getAndAddLong_name, getAndAddLong_signature, F_R) \
7eca5de9e0b6 7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents: 6725
diff changeset
1074 do_name( getAndAddLong_name, "getAndAddLong") \
7eca5de9e0b6 7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents: 6725
diff changeset
1075 do_signature(getAndAddLong_signature, "(Ljava/lang/Object;JJ)J" ) \
7429
a46457045d66 8004330: Add missing Unsafe entry points for addAndGet() family
kvn
parents: 7425
diff changeset
1076 do_intrinsic(_getAndSetInt, sun_misc_Unsafe, getAndSetInt_name, getAndSetInt_signature, F_R) \
a46457045d66 8004330: Add missing Unsafe entry points for addAndGet() family
kvn
parents: 7425
diff changeset
1077 do_name( getAndSetInt_name, "getAndSetInt") \
6795
7eca5de9e0b6 7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents: 6725
diff changeset
1078 do_alias( getAndSetInt_signature, /*"(Ljava/lang/Object;JI)I"*/ getAndAddInt_signature) \
7429
a46457045d66 8004330: Add missing Unsafe entry points for addAndGet() family
kvn
parents: 7425
diff changeset
1079 do_intrinsic(_getAndSetLong, sun_misc_Unsafe, getAndSetLong_name, getAndSetLong_signature, F_R) \
a46457045d66 8004330: Add missing Unsafe entry points for addAndGet() family
kvn
parents: 7425
diff changeset
1080 do_name( getAndSetLong_name, "getAndSetLong") \
6795
7eca5de9e0b6 7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents: 6725
diff changeset
1081 do_alias( getAndSetLong_signature, /*"(Ljava/lang/Object;JJ)J"*/ getAndAddLong_signature) \
7429
a46457045d66 8004330: Add missing Unsafe entry points for addAndGet() family
kvn
parents: 7425
diff changeset
1082 do_intrinsic(_getAndSetObject, sun_misc_Unsafe, getAndSetObject_name, getAndSetObject_signature, F_R)\
a46457045d66 8004330: Add missing Unsafe entry points for addAndGet() family
kvn
parents: 7425
diff changeset
1083 do_name( getAndSetObject_name, "getAndSetObject") \
6795
7eca5de9e0b6 7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents: 6725
diff changeset
1084 do_signature(getAndSetObject_signature, "(Ljava/lang/Object;JLjava/lang/Object;)Ljava/lang/Object;" ) \
7eca5de9e0b6 7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
roland
parents: 6725
diff changeset
1085 \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1086 /* prefetch_signature is shared by all prefetch variants */ \
a61af66fc99e Initial load
duke
parents:
diff changeset
1087 do_signature( prefetch_signature, "(Ljava/lang/Object;J)V") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1088 \
a61af66fc99e Initial load
duke
parents:
diff changeset
1089 do_intrinsic(_prefetchRead, sun_misc_Unsafe, prefetchRead_name, prefetch_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1090 do_name( prefetchRead_name, "prefetchRead") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1091 do_intrinsic(_prefetchWrite, sun_misc_Unsafe, prefetchWrite_name, prefetch_signature, F_RN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1092 do_name( prefetchWrite_name, "prefetchWrite") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1093 do_intrinsic(_prefetchReadStatic, sun_misc_Unsafe, prefetchReadStatic_name, prefetch_signature, F_SN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1094 do_name( prefetchReadStatic_name, "prefetchReadStatic") \
a61af66fc99e Initial load
duke
parents:
diff changeset
1095 do_intrinsic(_prefetchWriteStatic, sun_misc_Unsafe, prefetchWriteStatic_name, prefetch_signature, F_SN) \
a61af66fc99e Initial load
duke
parents:
diff changeset
1096 do_name( prefetchWriteStatic_name, "prefetchWriteStatic") \
856
75596850f863 6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
jrose
parents: 775
diff changeset
1097 /*== LAST_COMPILER_INLINE*/ \
75596850f863 6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
jrose
parents: 775
diff changeset
1098 /*the compiler does have special inlining code for these; bytecode inline is just fine */ \
75596850f863 6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
jrose
parents: 775
diff changeset
1099 \
75596850f863 6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
jrose
parents: 775
diff changeset
1100 do_intrinsic(_fillInStackTrace, java_lang_Throwable, fillInStackTrace_name, void_throwable_signature, F_RNY) \
1080
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1101 \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1102 do_intrinsic(_StringBuilder_void, java_lang_StringBuilder, object_initializer_name, void_method_signature, F_R) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1103 do_intrinsic(_StringBuilder_int, java_lang_StringBuilder, object_initializer_name, int_void_signature, F_R) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1104 do_intrinsic(_StringBuilder_String, java_lang_StringBuilder, object_initializer_name, string_void_signature, F_R) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1105 \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1106 do_intrinsic(_StringBuilder_append_char, java_lang_StringBuilder, append_name, char_StringBuilder_signature, F_R) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1107 do_intrinsic(_StringBuilder_append_int, java_lang_StringBuilder, append_name, int_StringBuilder_signature, F_R) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1108 do_intrinsic(_StringBuilder_append_String, java_lang_StringBuilder, append_name, String_StringBuilder_signature, F_R) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1109 \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1110 do_intrinsic(_StringBuilder_toString, java_lang_StringBuilder, toString_name, void_string_signature, F_R) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1111 \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1112 do_intrinsic(_StringBuffer_void, java_lang_StringBuffer, object_initializer_name, void_method_signature, F_R) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1113 do_intrinsic(_StringBuffer_int, java_lang_StringBuffer, object_initializer_name, int_void_signature, F_R) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1114 do_intrinsic(_StringBuffer_String, java_lang_StringBuffer, object_initializer_name, string_void_signature, F_R) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1115 \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1116 do_intrinsic(_StringBuffer_append_char, java_lang_StringBuffer, append_name, char_StringBuffer_signature, F_Y) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1117 do_intrinsic(_StringBuffer_append_int, java_lang_StringBuffer, append_name, int_StringBuffer_signature, F_Y) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1118 do_intrinsic(_StringBuffer_append_String, java_lang_StringBuffer, append_name, String_StringBuffer_signature, F_Y) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1119 \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1120 do_intrinsic(_StringBuffer_toString, java_lang_StringBuffer, toString_name, void_string_signature, F_Y) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1121 \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1122 do_intrinsic(_Integer_toString, java_lang_Integer, toString_name, int_String_signature, F_S) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1123 \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1124 do_intrinsic(_String_String, java_lang_String, object_initializer_name, string_void_signature, F_R) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1125 \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1126 do_intrinsic(_Object_init, java_lang_Object, object_initializer_name, void_method_signature, F_R) \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1127 /* (symbol object_initializer_name defined above) */ \
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1128 \
1507
cd5dbf694d45 6939134: JSR 292 adjustments to method handle invocation
jrose
parents: 1396
diff changeset
1129 do_intrinsic(_invoke, java_lang_reflect_Method, invoke_name, object_object_array_object_signature, F_R) \
856
75596850f863 6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
jrose
parents: 775
diff changeset
1130 /* (symbols invoke_name and invoke_signature defined above) */ \
6266
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
1131 /* the polymorphic MH intrinsics must be in compact order, with _invokeGeneric first and _linkToInterface last */ \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
1132 do_intrinsic(_invokeGeneric, java_lang_invoke_MethodHandle, invoke_name, star_name, F_RN) \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
1133 do_intrinsic(_invokeBasic, java_lang_invoke_MethodHandle, invokeBasic_name, star_name, F_RN) \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
1134 do_intrinsic(_linkToVirtual, java_lang_invoke_MethodHandle, linkToVirtual_name, star_name, F_SN) \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
1135 do_intrinsic(_linkToStatic, java_lang_invoke_MethodHandle, linkToStatic_name, star_name, F_SN) \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
1136 do_intrinsic(_linkToSpecial, java_lang_invoke_MethodHandle, linkToSpecial_name, star_name, F_SN) \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
1137 do_intrinsic(_linkToInterface, java_lang_invoke_MethodHandle, linkToInterface_name, star_name, F_SN) \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
1138 /* special marker for bytecode generated for the JVM from a LambdaForm: */ \
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
1139 do_intrinsic(_compiledLambdaForm, java_lang_invoke_MethodHandle, compiledLambdaForm_name, star_name, F_RN) \
3905
c26de9aef2ed 7071307: MethodHandle bimorphic inlining should consider the frequency
never
parents: 3900
diff changeset
1140 \
1133
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1141 /* unboxing methods: */ \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1142 do_intrinsic(_booleanValue, java_lang_Boolean, booleanValue_name, void_boolean_signature, F_R) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1143 do_name( booleanValue_name, "booleanValue") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1144 do_intrinsic(_byteValue, java_lang_Byte, byteValue_name, void_byte_signature, F_R) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1145 do_name( byteValue_name, "byteValue") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1146 do_intrinsic(_charValue, java_lang_Character, charValue_name, void_char_signature, F_R) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1147 do_name( charValue_name, "charValue") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1148 do_intrinsic(_shortValue, java_lang_Short, shortValue_name, void_short_signature, F_R) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1149 do_name( shortValue_name, "shortValue") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1150 do_intrinsic(_intValue, java_lang_Integer, intValue_name, void_int_signature, F_R) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1151 do_name( intValue_name, "intValue") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1152 do_intrinsic(_longValue, java_lang_Long, longValue_name, void_long_signature, F_R) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1153 do_name( longValue_name, "longValue") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1154 do_intrinsic(_floatValue, java_lang_Float, floatValue_name, void_float_signature, F_R) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1155 do_name( floatValue_name, "floatValue") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1156 do_intrinsic(_doubleValue, java_lang_Double, doubleValue_name, void_double_signature, F_R) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1157 do_name( doubleValue_name, "doubleValue") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1158 \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1159 /* boxing methods: */ \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1160 do_name( valueOf_name, "valueOf") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1161 do_intrinsic(_Boolean_valueOf, java_lang_Boolean, valueOf_name, Boolean_valueOf_signature, F_S) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1162 do_name( Boolean_valueOf_signature, "(Z)Ljava/lang/Boolean;") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1163 do_intrinsic(_Byte_valueOf, java_lang_Byte, valueOf_name, Byte_valueOf_signature, F_S) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1164 do_name( Byte_valueOf_signature, "(B)Ljava/lang/Byte;") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1165 do_intrinsic(_Character_valueOf, java_lang_Character, valueOf_name, Character_valueOf_signature, F_S) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1166 do_name( Character_valueOf_signature, "(C)Ljava/lang/Character;") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1167 do_intrinsic(_Short_valueOf, java_lang_Short, valueOf_name, Short_valueOf_signature, F_S) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1168 do_name( Short_valueOf_signature, "(S)Ljava/lang/Short;") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1169 do_intrinsic(_Integer_valueOf, java_lang_Integer, valueOf_name, Integer_valueOf_signature, F_S) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1170 do_name( Integer_valueOf_signature, "(I)Ljava/lang/Integer;") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1171 do_intrinsic(_Long_valueOf, java_lang_Long, valueOf_name, Long_valueOf_signature, F_S) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1172 do_name( Long_valueOf_signature, "(J)Ljava/lang/Long;") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1173 do_intrinsic(_Float_valueOf, java_lang_Float, valueOf_name, Float_valueOf_signature, F_S) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1174 do_name( Float_valueOf_signature, "(F)Ljava/lang/Float;") \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1175 do_intrinsic(_Double_valueOf, java_lang_Double, valueOf_name, Double_valueOf_signature, F_S) \
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1176 do_name( Double_valueOf_signature, "(D)Ljava/lang/Double;") \
856
75596850f863 6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
jrose
parents: 775
diff changeset
1177 \
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1178 /*end*/
a61af66fc99e Initial load
duke
parents:
diff changeset
1179
a61af66fc99e Initial load
duke
parents:
diff changeset
1180
a61af66fc99e Initial load
duke
parents:
diff changeset
1181
856
75596850f863 6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
jrose
parents: 775
diff changeset
1182
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1183 // Class vmSymbols
a61af66fc99e Initial load
duke
parents:
diff changeset
1184
a61af66fc99e Initial load
duke
parents:
diff changeset
1185 class vmSymbols: AllStatic {
3962
cb315dc80374 7092278: "jmap -finalizerinfo" throws "sun.jvm.hotspot.utilities.AssertionFailure: invalid cp index 0 137"
never
parents: 3938
diff changeset
1186 friend class vmIntrinsics;
cb315dc80374 7092278: "jmap -finalizerinfo" throws "sun.jvm.hotspot.utilities.AssertionFailure: invalid cp index 0 137"
never
parents: 3938
diff changeset
1187 friend class VMStructs;
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1188 public:
2177
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
1189 // enum for figuring positions and size of array holding Symbol*s
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1190 enum SID {
a61af66fc99e Initial load
duke
parents:
diff changeset
1191 NO_SID = 0,
a61af66fc99e Initial load
duke
parents:
diff changeset
1192
a61af66fc99e Initial load
duke
parents:
diff changeset
1193 #define VM_SYMBOL_ENUM(name, string) VM_SYMBOL_ENUM_NAME(name),
a61af66fc99e Initial load
duke
parents:
diff changeset
1194 VM_SYMBOLS_DO(VM_SYMBOL_ENUM, VM_ALIAS_IGNORE)
a61af66fc99e Initial load
duke
parents:
diff changeset
1195 #undef VM_SYMBOL_ENUM
a61af66fc99e Initial load
duke
parents:
diff changeset
1196
a61af66fc99e Initial load
duke
parents:
diff changeset
1197 SID_LIMIT,
a61af66fc99e Initial load
duke
parents:
diff changeset
1198
a61af66fc99e Initial load
duke
parents:
diff changeset
1199 #define VM_ALIAS_ENUM(name, def) VM_SYMBOL_ENUM_NAME(name) = VM_SYMBOL_ENUM_NAME(def),
a61af66fc99e Initial load
duke
parents:
diff changeset
1200 VM_SYMBOLS_DO(VM_SYMBOL_IGNORE, VM_ALIAS_ENUM)
a61af66fc99e Initial load
duke
parents:
diff changeset
1201 #undef VM_ALIAS_ENUM
a61af66fc99e Initial load
duke
parents:
diff changeset
1202
a61af66fc99e Initial load
duke
parents:
diff changeset
1203 FIRST_SID = NO_SID + 1
a61af66fc99e Initial load
duke
parents:
diff changeset
1204 };
a61af66fc99e Initial load
duke
parents:
diff changeset
1205 enum {
a61af66fc99e Initial load
duke
parents:
diff changeset
1206 log2_SID_LIMIT = 10 // checked by an assert at start-up
a61af66fc99e Initial load
duke
parents:
diff changeset
1207 };
a61af66fc99e Initial load
duke
parents:
diff changeset
1208
a61af66fc99e Initial load
duke
parents:
diff changeset
1209 private:
a61af66fc99e Initial load
duke
parents:
diff changeset
1210 // The symbol array
2177
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
1211 static Symbol* _symbols[];
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1212
a61af66fc99e Initial load
duke
parents:
diff changeset
1213 // Field signatures indexed by BasicType.
2177
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
1214 static Symbol* _type_signatures[T_VOID+1];
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1215
a61af66fc99e Initial load
duke
parents:
diff changeset
1216 public:
a61af66fc99e Initial load
duke
parents:
diff changeset
1217 // Initialization
a61af66fc99e Initial load
duke
parents:
diff changeset
1218 static void initialize(TRAPS);
a61af66fc99e Initial load
duke
parents:
diff changeset
1219 // Accessing
2177
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
1220 #define VM_SYMBOL_DECLARE(name, ignore) \
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
1221 static Symbol* name() { \
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
1222 return _symbols[VM_SYMBOL_ENUM_NAME(name)]; \
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
1223 }
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1224 VM_SYMBOLS_DO(VM_SYMBOL_DECLARE, VM_SYMBOL_DECLARE)
a61af66fc99e Initial load
duke
parents:
diff changeset
1225 #undef VM_SYMBOL_DECLARE
a61af66fc99e Initial load
duke
parents:
diff changeset
1226
2177
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
1227 // Sharing support
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
1228 static void symbols_do(SymbolClosure* f);
6725
da91efe96a93 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 6271
diff changeset
1229 static void serialize(SerializeClosure* soc);
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1230
2177
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
1231 static Symbol* type_signature(BasicType t) {
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1232 assert((uint)t < T_VOID+1, "range check");
a61af66fc99e Initial load
duke
parents:
diff changeset
1233 assert(_type_signatures[t] != NULL, "domain check");
a61af66fc99e Initial load
duke
parents:
diff changeset
1234 return _type_signatures[t];
a61af66fc99e Initial load
duke
parents:
diff changeset
1235 }
a61af66fc99e Initial load
duke
parents:
diff changeset
1236 // inverse of type_signature; returns T_OBJECT if s is not recognized
2177
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
1237 static BasicType signature_type(Symbol* s);
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1238
2177
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
1239 static Symbol* symbol_at(SID id) {
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1240 assert(id >= FIRST_SID && id < SID_LIMIT, "oob");
a61af66fc99e Initial load
duke
parents:
diff changeset
1241 assert(_symbols[id] != NULL, "init");
a61af66fc99e Initial load
duke
parents:
diff changeset
1242 return _symbols[id];
a61af66fc99e Initial load
duke
parents:
diff changeset
1243 }
a61af66fc99e Initial load
duke
parents:
diff changeset
1244
a61af66fc99e Initial load
duke
parents:
diff changeset
1245 // Returns symbol's SID if one is assigned, else NO_SID.
2177
3582bf76420e 6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents: 2129
diff changeset
1246 static SID find_sid(Symbol* symbol);
2356
72dee110246f 6839872: remove implementation inheritance from JSR 292 APIs
jrose
parents: 2202
diff changeset
1247 static SID find_sid(const char* symbol_name);
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1248
a61af66fc99e Initial load
duke
parents:
diff changeset
1249 #ifndef PRODUCT
a61af66fc99e Initial load
duke
parents:
diff changeset
1250 // No need for this in the product:
a61af66fc99e Initial load
duke
parents:
diff changeset
1251 static const char* name_for(SID sid);
a61af66fc99e Initial load
duke
parents:
diff changeset
1252 #endif //PRODUCT
a61af66fc99e Initial load
duke
parents:
diff changeset
1253 };
a61af66fc99e Initial load
duke
parents:
diff changeset
1254
a61af66fc99e Initial load
duke
parents:
diff changeset
1255 // VM Intrinsic ID's uniquely identify some very special methods
a61af66fc99e Initial load
duke
parents:
diff changeset
1256 class vmIntrinsics: AllStatic {
a61af66fc99e Initial load
duke
parents:
diff changeset
1257 friend class vmSymbols;
a61af66fc99e Initial load
duke
parents:
diff changeset
1258 friend class ciObjectFactory;
a61af66fc99e Initial load
duke
parents:
diff changeset
1259
a61af66fc99e Initial load
duke
parents:
diff changeset
1260 public:
a61af66fc99e Initial load
duke
parents:
diff changeset
1261 // Accessing
a61af66fc99e Initial load
duke
parents:
diff changeset
1262 enum ID {
a61af66fc99e Initial load
duke
parents:
diff changeset
1263 _none = 0, // not an intrinsic (default answer)
a61af66fc99e Initial load
duke
parents:
diff changeset
1264
a61af66fc99e Initial load
duke
parents:
diff changeset
1265 #define VM_INTRINSIC_ENUM(id, klass, name, sig, flags) id,
a61af66fc99e Initial load
duke
parents:
diff changeset
1266 VM_INTRINSICS_DO(VM_INTRINSIC_ENUM,
a61af66fc99e Initial load
duke
parents:
diff changeset
1267 VM_SYMBOL_IGNORE, VM_SYMBOL_IGNORE, VM_SYMBOL_IGNORE, VM_ALIAS_IGNORE)
a61af66fc99e Initial load
duke
parents:
diff changeset
1268 #undef VM_INTRINSIC_ENUM
a61af66fc99e Initial load
duke
parents:
diff changeset
1269
a61af66fc99e Initial load
duke
parents:
diff changeset
1270 ID_LIMIT,
856
75596850f863 6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
jrose
parents: 775
diff changeset
1271 LAST_COMPILER_INLINE = _prefetchWriteStatic,
6266
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
1272 FIRST_MH_SIG_POLY = _invokeGeneric,
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
1273 FIRST_MH_STATIC = _linkToVirtual,
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
1274 LAST_MH_SIG_POLY = _linkToInterface,
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 6222
diff changeset
1275
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1276 FIRST_ID = _none + 1
a61af66fc99e Initial load
duke
parents:
diff changeset
1277 };
a61af66fc99e Initial load
duke
parents:
diff changeset
1278
a61af66fc99e Initial load
duke
parents:
diff changeset
1279 enum Flags {
a61af66fc99e Initial load
duke
parents:
diff changeset
1280 // AccessFlags syndromes relevant to intrinsics.
a61af66fc99e Initial load
duke
parents:
diff changeset
1281 F_none = 0,
1080
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1282 F_R, // !static ?native !synchronized (R="regular")
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1283 F_S, // static ?native !synchronized
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1284 F_Y, // !static ?native synchronized
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1285 F_RN, // !static native !synchronized
7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns
never
parents: 1059
diff changeset
1286 F_SN, // static native !synchronized
1133
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1287 F_RNY, // !static native synchronized
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1288
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1289 FLAG_LIMIT
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1290 };
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1291 enum {
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1292 log2_FLAG_LIMIT = 4 // checked by an assert at start-up
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1293 };
a61af66fc99e Initial load
duke
parents:
diff changeset
1294
a61af66fc99e Initial load
duke
parents:
diff changeset
1295 public:
a61af66fc99e Initial load
duke
parents:
diff changeset
1296 static ID ID_from(int raw_id) {
a61af66fc99e Initial load
duke
parents:
diff changeset
1297 assert(raw_id >= (int)_none && raw_id < (int)ID_LIMIT,
a61af66fc99e Initial load
duke
parents:
diff changeset
1298 "must be a valid intrinsic ID");
a61af66fc99e Initial load
duke
parents:
diff changeset
1299 return (ID)raw_id;
a61af66fc99e Initial load
duke
parents:
diff changeset
1300 }
a61af66fc99e Initial load
duke
parents:
diff changeset
1301
a61af66fc99e Initial load
duke
parents:
diff changeset
1302 static const char* name_at(ID id);
a61af66fc99e Initial load
duke
parents:
diff changeset
1303
1133
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1304 private:
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1305 static ID find_id_impl(vmSymbols::SID holder,
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1306 vmSymbols::SID name,
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1307 vmSymbols::SID sig,
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1308 jshort flags);
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1309
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1310 public:
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1311 // Given a method's class, name, signature, and access flags, report its ID.
a61af66fc99e Initial load
duke
parents:
diff changeset
1312 static ID find_id(vmSymbols::SID holder,
a61af66fc99e Initial load
duke
parents:
diff changeset
1313 vmSymbols::SID name,
a61af66fc99e Initial load
duke
parents:
diff changeset
1314 vmSymbols::SID sig,
1133
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1315 jshort flags) {
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1316 ID id = find_id_impl(holder, name, sig, flags);
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1317 #ifdef ASSERT
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1318 // ID _none does not hold the following asserts.
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1319 if (id == _none) return id;
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1320 #endif
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1321 assert( class_for(id) == holder, "correct id");
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1322 assert( name_for(id) == name, "correct id");
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1323 assert(signature_for(id) == sig, "correct id");
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1324 return id;
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1325 }
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1326
6725
da91efe96a93 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 6271
diff changeset
1327 static void verify_method(ID actual_id, Method* m) PRODUCT_RETURN;
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1328
1133
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1329 // Find out the symbols behind an intrinsic:
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1330 static vmSymbols::SID class_for(ID id);
a61af66fc99e Initial load
duke
parents:
diff changeset
1331 static vmSymbols::SID name_for(ID id);
a61af66fc99e Initial load
duke
parents:
diff changeset
1332 static vmSymbols::SID signature_for(ID id);
a61af66fc99e Initial load
duke
parents:
diff changeset
1333 static Flags flags_for(ID id);
a61af66fc99e Initial load
duke
parents:
diff changeset
1334
a61af66fc99e Initial load
duke
parents:
diff changeset
1335 static const char* short_name_as_C_string(ID id, char* buf, int size);
856
75596850f863 6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
jrose
parents: 775
diff changeset
1336
1133
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1337 // Wrapper object methods:
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1338 static ID for_boxing(BasicType type);
aa62b9388fce 6894206: JVM needs a way to traverse method handle structures
twisti
parents: 1080
diff changeset
1339 static ID for_unboxing(BasicType type);
1138
dd57230ba8fe 6893268: additional dynamic language related optimizations in C2
twisti
parents: 1135
diff changeset
1340
dd57230ba8fe 6893268: additional dynamic language related optimizations in C2
twisti
parents: 1135
diff changeset
1341 // Raw conversion:
dd57230ba8fe 6893268: additional dynamic language related optimizations in C2
twisti
parents: 1135
diff changeset
1342 static ID for_raw_conversion(BasicType src, BasicType dest);
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1343 };
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1793
diff changeset
1344
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1793
diff changeset
1345 #endif // SHARE_VM_CLASSFILE_VMSYMBOLS_HPP