Mercurial > hg > truffle
comparison src/share/vm/classfile/vmSymbols.hpp @ 710:e5b0439ef4ae
6655638: dynamic languages need method handles
Summary: initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.)
Reviewed-by: kvn, twisti, never
author | jrose |
---|---|
date | Wed, 08 Apr 2009 10:56:49 -0700 |
parents | fbde8ec322d0 |
children | be93aad57795 |
comparison
equal
deleted
inserted
replaced
709:1d037ecd7960 | 710:e5b0439ef4ae |
---|---|
214 template(sun_reflect_ConstantPool, "sun/reflect/ConstantPool") \ | 214 template(sun_reflect_ConstantPool, "sun/reflect/ConstantPool") \ |
215 template(constantPoolOop_name, "constantPoolOop") \ | 215 template(constantPoolOop_name, "constantPoolOop") \ |
216 template(sun_reflect_UnsafeStaticFieldAccessorImpl, "sun/reflect/UnsafeStaticFieldAccessorImpl")\ | 216 template(sun_reflect_UnsafeStaticFieldAccessorImpl, "sun/reflect/UnsafeStaticFieldAccessorImpl")\ |
217 template(base_name, "base") \ | 217 template(base_name, "base") \ |
218 \ | 218 \ |
219 /* common method names */ \ | 219 /* Support for JSR 292 & invokedynamic (JDK 1.7 and above) */ \ |
220 template(java_dyn_MethodHandle, "java/dyn/MethodHandle") \ | |
221 template(java_dyn_MethodType, "java/dyn/MethodType") \ | |
222 template(java_dyn_WrongMethodTypeException, "java/dyn/WrongMethodTypeException") \ | |
223 template(java_dyn_MethodType_signature, "Ljava/dyn/MethodType;") \ | |
224 template(java_dyn_MethodHandle_signature, "Ljava/dyn/MethodHandle;") \ | |
225 /* internal classes known only to the JVM: */ \ | |
226 template(java_dyn_MethodTypeForm, "java/dyn/MethodTypeForm") \ | |
227 template(java_dyn_MethodTypeForm_signature, "Ljava/dyn/MethodTypeForm;") \ | |
228 template(sun_dyn_MemberName, "sun/dyn/MemberName") \ | |
229 template(sun_dyn_MethodHandleImpl, "sun/dyn/MethodHandleImpl") \ | |
230 template(sun_dyn_AdapterMethodHandle, "sun/dyn/AdapterMethodHandle") \ | |
231 template(sun_dyn_BoundMethodHandle, "sun/dyn/BoundMethodHandle") \ | |
232 template(sun_dyn_DirectMethodHandle, "sun/dyn/DirectMethodHandle") \ | |
233 template(makeImpl_name, "makeImpl") /*MethodType::makeImpl*/ \ | |
234 template(makeImpl_signature, "(Ljava/lang/Class;[Ljava/lang/Class;ZZ)Ljava/dyn/MethodType;") \ | |
235 NOT_LP64( do_alias(machine_word_signature, int_signature) ) \ | |
236 LP64_ONLY( do_alias(machine_word_signature, long_signature) ) \ | |
237 \ | |
238 /* common method and field names */ \ | |
220 template(object_initializer_name, "<init>") \ | 239 template(object_initializer_name, "<init>") \ |
221 template(class_initializer_name, "<clinit>") \ | 240 template(class_initializer_name, "<clinit>") \ |
222 template(println_name, "println") \ | 241 template(println_name, "println") \ |
223 template(printStackTrace_name, "printStackTrace") \ | 242 template(printStackTrace_name, "printStackTrace") \ |
224 template(main_name, "main") \ | 243 template(main_name, "main") \ |
287 template(frontCacheEnabled_name, "frontCacheEnabled") \ | 306 template(frontCacheEnabled_name, "frontCacheEnabled") \ |
288 template(stringCacheEnabled_name, "stringCacheEnabled") \ | 307 template(stringCacheEnabled_name, "stringCacheEnabled") \ |
289 template(bitCount_name, "bitCount") \ | 308 template(bitCount_name, "bitCount") \ |
290 template(profile_name, "profile") \ | 309 template(profile_name, "profile") \ |
291 template(equals_name, "equals") \ | 310 template(equals_name, "equals") \ |
311 template(toString_name, "toString") \ | |
312 template(values_name, "values") \ | |
313 template(receiver_name, "receiver") \ | |
314 template(vmtarget_name, "vmtarget") \ | |
315 template(vmentry_name, "vmentry") \ | |
316 template(vmslots_name, "vmslots") \ | |
317 template(vmindex_name, "vmindex") \ | |
318 template(vmargslot_name, "vmargslot") \ | |
319 template(flags_name, "flags") \ | |
320 template(argument_name, "argument") \ | |
321 template(conversion_name, "conversion") \ | |
322 template(rtype_name, "rtype") \ | |
323 template(ptypes_name, "ptypes") \ | |
324 template(form_name, "form") \ | |
325 template(erasedType_name, "erasedType") \ | |
292 \ | 326 \ |
293 /* non-intrinsic name/signature pairs: */ \ | 327 /* non-intrinsic name/signature pairs: */ \ |
294 template(register_method_name, "register") \ | 328 template(register_method_name, "register") \ |
295 do_alias(register_method_signature, object_void_signature) \ | 329 do_alias(register_method_signature, object_void_signature) \ |
296 \ | 330 \ |
351 template(int_int_void_signature, "(II)V") \ | 385 template(int_int_void_signature, "(II)V") \ |
352 template(long_long_void_signature, "(JJ)V") \ | 386 template(long_long_void_signature, "(JJ)V") \ |
353 template(void_classloader_signature, "()Ljava/lang/ClassLoader;") \ | 387 template(void_classloader_signature, "()Ljava/lang/ClassLoader;") \ |
354 template(void_object_signature, "()Ljava/lang/Object;") \ | 388 template(void_object_signature, "()Ljava/lang/Object;") \ |
355 template(void_class_signature, "()Ljava/lang/Class;") \ | 389 template(void_class_signature, "()Ljava/lang/Class;") \ |
390 template(void_string_signature, "()Ljava/lang/String;") \ | |
356 template(object_array_object_object_signature, "(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;")\ | 391 template(object_array_object_object_signature, "(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;")\ |
357 template(exception_void_signature, "(Ljava/lang/Exception;)V") \ | 392 template(exception_void_signature, "(Ljava/lang/Exception;)V") \ |
358 template(protectiondomain_signature, "[Ljava/security/ProtectionDomain;") \ | 393 template(protectiondomain_signature, "[Ljava/security/ProtectionDomain;") \ |
359 template(accesscontrolcontext_signature, "Ljava/security/AccessControlContext;") \ | 394 template(accesscontrolcontext_signature, "Ljava/security/AccessControlContext;") \ |
360 template(class_protectiondomain_signature, "(Ljava/lang/Class;Ljava/security/ProtectionDomain;)V") \ | 395 template(class_protectiondomain_signature, "(Ljava/lang/Class;Ljava/security/ProtectionDomain;)V") \ |