< prev index next >

src/hotspot/share/classfile/vmSymbols.hpp

Print this page
rev 52360 : 8212605: Pure-Java implementation of AccessController.doPrivileged
rev 52361 : [mq]: webrev.2.incr


  82   template(java_lang_Long,                            "java/lang/Long")                           \
  83   template(java_lang_Long_LongCache,                  "java/lang/Long$LongCache")                 \
  84   template(java_lang_Shutdown,                        "java/lang/Shutdown")                       \
  85   template(java_lang_ref_Reference,                   "java/lang/ref/Reference")                  \
  86   template(java_lang_ref_SoftReference,               "java/lang/ref/SoftReference")              \
  87   template(java_lang_ref_WeakReference,               "java/lang/ref/WeakReference")              \
  88   template(java_lang_ref_FinalReference,              "java/lang/ref/FinalReference")             \
  89   template(java_lang_ref_PhantomReference,            "java/lang/ref/PhantomReference")           \
  90   template(java_lang_ref_Finalizer,                   "java/lang/ref/Finalizer")                  \
  91   template(java_lang_reflect_AccessibleObject,        "java/lang/reflect/AccessibleObject")       \
  92   template(java_lang_reflect_Method,                  "java/lang/reflect/Method")                 \
  93   template(java_lang_reflect_Constructor,             "java/lang/reflect/Constructor")            \
  94   template(java_lang_reflect_Field,                   "java/lang/reflect/Field")                  \
  95   template(java_lang_reflect_Parameter,               "java/lang/reflect/Parameter")              \
  96   template(java_lang_reflect_Array,                   "java/lang/reflect/Array")                  \
  97   template(java_lang_StringBuffer,                    "java/lang/StringBuffer")                   \
  98   template(java_lang_StringBuilder,                   "java/lang/StringBuilder")                  \
  99   template(java_lang_CharSequence,                    "java/lang/CharSequence")                   \
 100   template(java_lang_SecurityManager,                 "java/lang/SecurityManager")                \
 101   template(java_security_AccessControlContext,        "java/security/AccessControlContext")       \


 102   template(java_security_CodeSource,                  "java/security/CodeSource")                 \
 103   template(java_security_ProtectionDomain,            "java/security/ProtectionDomain")           \
 104   template(java_security_SecureClassLoader,           "java/security/SecureClassLoader")          \
 105   template(java_net_URL,                              "java/net/URL")                             \
 106   template(java_util_jar_Manifest,                    "java/util/jar/Manifest")                   \
 107   template(java_io_OutputStream,                      "java/io/OutputStream")                     \
 108   template(java_io_Reader,                            "java/io/Reader")                           \
 109   template(java_io_BufferedReader,                    "java/io/BufferedReader")                   \
 110   template(java_io_File,                              "java/io/File")                             \
 111   template(java_io_FileInputStream,                   "java/io/FileInputStream")                  \
 112   template(java_io_ByteArrayInputStream,              "java/io/ByteArrayInputStream")             \
 113   template(java_io_Serializable,                      "java/io/Serializable")                     \
 114   template(java_util_Arrays,                          "java/util/Arrays")                         \
 115   template(java_util_Objects,                         "java/util/Objects")                        \
 116   template(java_util_Properties,                      "java/util/Properties")                     \
 117   template(java_util_Vector,                          "java/util/Vector")                         \
 118   template(java_util_AbstractList,                    "java/util/AbstractList")                   \
 119   template(java_util_Hashtable,                       "java/util/Hashtable")                      \
 120   template(java_lang_Compiler,                        "java/lang/Compiler")                       \
 121   template(jdk_internal_misc_Signal,                  "jdk/internal/misc/Signal")                 \


 286   template(java_lang_invoke_MutableCallSite,          "java/lang/invoke/MutableCallSite")         \
 287   template(java_lang_invoke_VolatileCallSite,         "java/lang/invoke/VolatileCallSite")        \
 288   template(java_lang_invoke_MethodHandle,             "java/lang/invoke/MethodHandle")            \
 289   template(java_lang_invoke_VarHandle,                "java/lang/invoke/VarHandle")               \
 290   template(java_lang_invoke_MethodType,               "java/lang/invoke/MethodType")              \
 291   template(java_lang_invoke_MethodType_signature,     "Ljava/lang/invoke/MethodType;")            \
 292   template(java_lang_invoke_ResolvedMethodName_signature, "Ljava/lang/invoke/ResolvedMethodName;")\
 293   template(java_lang_invoke_MemberName_signature,     "Ljava/lang/invoke/MemberName;")            \
 294   template(java_lang_invoke_LambdaForm_signature,     "Ljava/lang/invoke/LambdaForm;")            \
 295   template(java_lang_invoke_MethodHandle_signature,   "Ljava/lang/invoke/MethodHandle;")          \
 296   /* internal classes known only to the JVM: */                                                   \
 297   template(java_lang_invoke_MemberName,               "java/lang/invoke/MemberName")              \
 298   template(java_lang_invoke_ResolvedMethodName,       "java/lang/invoke/ResolvedMethodName")      \
 299   template(java_lang_invoke_MethodHandleNatives,      "java/lang/invoke/MethodHandleNatives")     \
 300   template(java_lang_invoke_MethodHandleNatives_CallSiteContext, "java/lang/invoke/MethodHandleNatives$CallSiteContext") \
 301   template(java_lang_invoke_LambdaForm,               "java/lang/invoke/LambdaForm")              \
 302   template(java_lang_invoke_InjectedProfile_signature, "Ljava/lang/invoke/InjectedProfile;")      \
 303   template(java_lang_invoke_LambdaForm_Compiled_signature, "Ljava/lang/invoke/LambdaForm$Compiled;") \
 304   template(java_lang_invoke_LambdaForm_Hidden_signature, "Ljava/lang/invoke/LambdaForm$Hidden;")  \
 305   template(java_lang_invoke_MethodHandleNatives_CallSiteContext_signature, "Ljava/lang/invoke/MethodHandleNatives$CallSiteContext;") \

 306   /* internal up-calls made only by the JVM, via class sun.invoke.MethodHandleNatives: */         \
 307   template(findMethodHandleType_name,                 "findMethodHandleType")                     \
 308   template(findMethodHandleType_signature,       "(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;") \
 309   template(invokeExact_name,                          "invokeExact")                              \
 310   template(linkMethodHandleConstant_name,             "linkMethodHandleConstant")                 \
 311   template(linkMethodHandleConstant_signature, "(Ljava/lang/Class;ILjava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;") \
 312   template(linkMethod_name,                           "linkMethod")                               \
 313   template(linkMethod_signature, "(Ljava/lang/Class;ILjava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/invoke/MemberName;") \
 314   template(linkDynamicConstant_name,                  "linkDynamicConstant")                      \
 315   template(linkDynamicConstant_signature, "(Ljava/lang/Object;ILjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;") \
 316   template(linkCallSite_name,                         "linkCallSite")                             \
 317   template(linkCallSite_signature, "(Ljava/lang/Object;ILjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/invoke/MemberName;") \
 318   template(setTargetNormal_name,                      "setTargetNormal")                          \
 319   template(setTargetVolatile_name,                    "setTargetVolatile")                        \
 320   template(setTarget_signature,                       "(Ljava/lang/invoke/MethodHandle;)V")       \
 321   template(DEFAULT_CONTEXT_name,                      "DEFAULT_CONTEXT")                          \
 322   NOT_LP64(  do_alias(intptr_signature,               int_signature)  )                           \
 323   LP64_ONLY( do_alias(intptr_signature,               long_signature) )                           \
 324                                                                                                                                       \
 325   /* Support for JVMCI */                                                                                                             \


 529   template(threadgroup_array_signature,               "[Ljava/lang/ThreadGroup;")                                 \
 530   template(class_array_signature,                     "[Ljava/lang/Class;")                                       \
 531   template(classloader_signature,                     "Ljava/lang/ClassLoader;")                                  \
 532   template(object_signature,                          "Ljava/lang/Object;")                                       \
 533   template(object_array_signature,                    "[Ljava/lang/Object;")                                      \
 534   template(class_signature,                           "Ljava/lang/Class;")                                        \
 535   template(string_signature,                          "Ljava/lang/String;")                                       \
 536   template(string_array_signature,                    "[Ljava/lang/String;")                                      \
 537   template(reference_signature,                       "Ljava/lang/ref/Reference;")                                \
 538   template(executable_signature,                      "Ljava/lang/reflect/Executable;")                           \
 539   template(module_signature,                          "Ljava/lang/Module;")                                       \
 540   template(concurrenthashmap_signature,               "Ljava/util/concurrent/ConcurrentHashMap;")                 \
 541   template(String_StringBuilder_signature,            "(Ljava/lang/String;)Ljava/lang/StringBuilder;")            \
 542   template(int_StringBuilder_signature,               "(I)Ljava/lang/StringBuilder;")                             \
 543   template(char_StringBuilder_signature,              "(C)Ljava/lang/StringBuilder;")                             \
 544   template(String_StringBuffer_signature,             "(Ljava/lang/String;)Ljava/lang/StringBuffer;")             \
 545   template(int_StringBuffer_signature,                "(I)Ljava/lang/StringBuffer;")                              \
 546   template(char_StringBuffer_signature,               "(C)Ljava/lang/StringBuffer;")                              \
 547   template(int_String_signature,                      "(I)Ljava/lang/String;")                                    \
 548   template(boolean_boolean_int_signature,             "(ZZ)I")                                                    \
 549   template(codesource_permissioncollection_signature, "(Ljava/security/CodeSource;Ljava/security/PermissionCollection;)V") \
 550   /* signature symbols needed by intrinsics */                                                                    \
 551   VM_INTRINSICS_DO(VM_INTRINSIC_IGNORE, VM_SYMBOL_IGNORE, VM_SYMBOL_IGNORE, template, VM_ALIAS_IGNORE)            \
 552                                                                                                                   \
 553   /* symbol aliases needed by intrinsics */                                                                       \
 554   VM_INTRINSICS_DO(VM_INTRINSIC_IGNORE, VM_SYMBOL_IGNORE, VM_SYMBOL_IGNORE, VM_SYMBOL_IGNORE, do_alias)           \
 555                                                                                                                   \
 556   /* returned by the C1 compiler in case there's not enough memory to allocate a new symbol*/                     \
 557   template(dummy_symbol,                              "illegal symbol")                                           \
 558                                                                                                                   \
 559   /* used by ClassFormatError when class name is not known yet */                                                 \
 560   template(unknown_class_name,                        "<Unknown>")                                                \
 561                                                                                                                   \
 562   /* JVM monitoring and management support */                                                                     \
 563   template(java_lang_StackTraceElement_array,          "[Ljava/lang/StackTraceElement;")                          \
 564   template(java_lang_management_ThreadState,           "java/lang/management/ThreadState")                        \
 565   template(java_lang_management_MemoryUsage,           "java/lang/management/MemoryUsage")                        \
 566   template(java_lang_management_ThreadInfo,            "java/lang/management/ThreadInfo")                         \
 567   template(jdk_internal_agent_Agent,                   "jdk/internal/agent/Agent")                                \
 568   template(sun_management_Sensor,                      "sun/management/Sensor")                                   \
 569   template(sun_management_ManagementFactoryHelper,     "sun/management/ManagementFactoryHelper")                  \




  82   template(java_lang_Long,                            "java/lang/Long")                           \
  83   template(java_lang_Long_LongCache,                  "java/lang/Long$LongCache")                 \
  84   template(java_lang_Shutdown,                        "java/lang/Shutdown")                       \
  85   template(java_lang_ref_Reference,                   "java/lang/ref/Reference")                  \
  86   template(java_lang_ref_SoftReference,               "java/lang/ref/SoftReference")              \
  87   template(java_lang_ref_WeakReference,               "java/lang/ref/WeakReference")              \
  88   template(java_lang_ref_FinalReference,              "java/lang/ref/FinalReference")             \
  89   template(java_lang_ref_PhantomReference,            "java/lang/ref/PhantomReference")           \
  90   template(java_lang_ref_Finalizer,                   "java/lang/ref/Finalizer")                  \
  91   template(java_lang_reflect_AccessibleObject,        "java/lang/reflect/AccessibleObject")       \
  92   template(java_lang_reflect_Method,                  "java/lang/reflect/Method")                 \
  93   template(java_lang_reflect_Constructor,             "java/lang/reflect/Constructor")            \
  94   template(java_lang_reflect_Field,                   "java/lang/reflect/Field")                  \
  95   template(java_lang_reflect_Parameter,               "java/lang/reflect/Parameter")              \
  96   template(java_lang_reflect_Array,                   "java/lang/reflect/Array")                  \
  97   template(java_lang_StringBuffer,                    "java/lang/StringBuffer")                   \
  98   template(java_lang_StringBuilder,                   "java/lang/StringBuilder")                  \
  99   template(java_lang_CharSequence,                    "java/lang/CharSequence")                   \
 100   template(java_lang_SecurityManager,                 "java/lang/SecurityManager")                \
 101   template(java_security_AccessControlContext,        "java/security/AccessControlContext")       \
 102   template(java_security_AccessController,            "java/security/AccessController")           \
 103   template(executePrivileged_name,                    "executePrivileged")                        \
 104   template(java_security_CodeSource,                  "java/security/CodeSource")                 \
 105   template(java_security_ProtectionDomain,            "java/security/ProtectionDomain")           \
 106   template(java_security_SecureClassLoader,           "java/security/SecureClassLoader")          \
 107   template(java_net_URL,                              "java/net/URL")                             \
 108   template(java_util_jar_Manifest,                    "java/util/jar/Manifest")                   \
 109   template(java_io_OutputStream,                      "java/io/OutputStream")                     \
 110   template(java_io_Reader,                            "java/io/Reader")                           \
 111   template(java_io_BufferedReader,                    "java/io/BufferedReader")                   \
 112   template(java_io_File,                              "java/io/File")                             \
 113   template(java_io_FileInputStream,                   "java/io/FileInputStream")                  \
 114   template(java_io_ByteArrayInputStream,              "java/io/ByteArrayInputStream")             \
 115   template(java_io_Serializable,                      "java/io/Serializable")                     \
 116   template(java_util_Arrays,                          "java/util/Arrays")                         \
 117   template(java_util_Objects,                         "java/util/Objects")                        \
 118   template(java_util_Properties,                      "java/util/Properties")                     \
 119   template(java_util_Vector,                          "java/util/Vector")                         \
 120   template(java_util_AbstractList,                    "java/util/AbstractList")                   \
 121   template(java_util_Hashtable,                       "java/util/Hashtable")                      \
 122   template(java_lang_Compiler,                        "java/lang/Compiler")                       \
 123   template(jdk_internal_misc_Signal,                  "jdk/internal/misc/Signal")                 \


 288   template(java_lang_invoke_MutableCallSite,          "java/lang/invoke/MutableCallSite")         \
 289   template(java_lang_invoke_VolatileCallSite,         "java/lang/invoke/VolatileCallSite")        \
 290   template(java_lang_invoke_MethodHandle,             "java/lang/invoke/MethodHandle")            \
 291   template(java_lang_invoke_VarHandle,                "java/lang/invoke/VarHandle")               \
 292   template(java_lang_invoke_MethodType,               "java/lang/invoke/MethodType")              \
 293   template(java_lang_invoke_MethodType_signature,     "Ljava/lang/invoke/MethodType;")            \
 294   template(java_lang_invoke_ResolvedMethodName_signature, "Ljava/lang/invoke/ResolvedMethodName;")\
 295   template(java_lang_invoke_MemberName_signature,     "Ljava/lang/invoke/MemberName;")            \
 296   template(java_lang_invoke_LambdaForm_signature,     "Ljava/lang/invoke/LambdaForm;")            \
 297   template(java_lang_invoke_MethodHandle_signature,   "Ljava/lang/invoke/MethodHandle;")          \
 298   /* internal classes known only to the JVM: */                                                   \
 299   template(java_lang_invoke_MemberName,               "java/lang/invoke/MemberName")              \
 300   template(java_lang_invoke_ResolvedMethodName,       "java/lang/invoke/ResolvedMethodName")      \
 301   template(java_lang_invoke_MethodHandleNatives,      "java/lang/invoke/MethodHandleNatives")     \
 302   template(java_lang_invoke_MethodHandleNatives_CallSiteContext, "java/lang/invoke/MethodHandleNatives$CallSiteContext") \
 303   template(java_lang_invoke_LambdaForm,               "java/lang/invoke/LambdaForm")              \
 304   template(java_lang_invoke_InjectedProfile_signature, "Ljava/lang/invoke/InjectedProfile;")      \
 305   template(java_lang_invoke_LambdaForm_Compiled_signature, "Ljava/lang/invoke/LambdaForm$Compiled;") \
 306   template(java_lang_invoke_LambdaForm_Hidden_signature, "Ljava/lang/invoke/LambdaForm$Hidden;")  \
 307   template(java_lang_invoke_MethodHandleNatives_CallSiteContext_signature, "Ljava/lang/invoke/MethodHandleNatives$CallSiteContext;") \
 308   template(java_security_AccessController_Hidden_signature, "Ljava/security/AccessController$Hidden;")  \
 309   /* internal up-calls made only by the JVM, via class sun.invoke.MethodHandleNatives: */         \
 310   template(findMethodHandleType_name,                 "findMethodHandleType")                     \
 311   template(findMethodHandleType_signature,       "(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;") \
 312   template(invokeExact_name,                          "invokeExact")                              \
 313   template(linkMethodHandleConstant_name,             "linkMethodHandleConstant")                 \
 314   template(linkMethodHandleConstant_signature, "(Ljava/lang/Class;ILjava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;") \
 315   template(linkMethod_name,                           "linkMethod")                               \
 316   template(linkMethod_signature, "(Ljava/lang/Class;ILjava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/invoke/MemberName;") \
 317   template(linkDynamicConstant_name,                  "linkDynamicConstant")                      \
 318   template(linkDynamicConstant_signature, "(Ljava/lang/Object;ILjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;") \
 319   template(linkCallSite_name,                         "linkCallSite")                             \
 320   template(linkCallSite_signature, "(Ljava/lang/Object;ILjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/invoke/MemberName;") \
 321   template(setTargetNormal_name,                      "setTargetNormal")                          \
 322   template(setTargetVolatile_name,                    "setTargetVolatile")                        \
 323   template(setTarget_signature,                       "(Ljava/lang/invoke/MethodHandle;)V")       \
 324   template(DEFAULT_CONTEXT_name,                      "DEFAULT_CONTEXT")                          \
 325   NOT_LP64(  do_alias(intptr_signature,               int_signature)  )                           \
 326   LP64_ONLY( do_alias(intptr_signature,               long_signature) )                           \
 327                                                                                                                                       \
 328   /* Support for JVMCI */                                                                                                             \


 532   template(threadgroup_array_signature,               "[Ljava/lang/ThreadGroup;")                                 \
 533   template(class_array_signature,                     "[Ljava/lang/Class;")                                       \
 534   template(classloader_signature,                     "Ljava/lang/ClassLoader;")                                  \
 535   template(object_signature,                          "Ljava/lang/Object;")                                       \
 536   template(object_array_signature,                    "[Ljava/lang/Object;")                                      \
 537   template(class_signature,                           "Ljava/lang/Class;")                                        \
 538   template(string_signature,                          "Ljava/lang/String;")                                       \
 539   template(string_array_signature,                    "[Ljava/lang/String;")                                      \
 540   template(reference_signature,                       "Ljava/lang/ref/Reference;")                                \
 541   template(executable_signature,                      "Ljava/lang/reflect/Executable;")                           \
 542   template(module_signature,                          "Ljava/lang/Module;")                                       \
 543   template(concurrenthashmap_signature,               "Ljava/util/concurrent/ConcurrentHashMap;")                 \
 544   template(String_StringBuilder_signature,            "(Ljava/lang/String;)Ljava/lang/StringBuilder;")            \
 545   template(int_StringBuilder_signature,               "(I)Ljava/lang/StringBuilder;")                             \
 546   template(char_StringBuilder_signature,              "(C)Ljava/lang/StringBuilder;")                             \
 547   template(String_StringBuffer_signature,             "(Ljava/lang/String;)Ljava/lang/StringBuffer;")             \
 548   template(int_StringBuffer_signature,                "(I)Ljava/lang/StringBuffer;")                              \
 549   template(char_StringBuffer_signature,               "(C)Ljava/lang/StringBuffer;")                              \
 550   template(int_String_signature,                      "(I)Ljava/lang/String;")                                    \
 551   template(boolean_boolean_int_signature,             "(ZZ)I")                                                    \

 552   /* signature symbols needed by intrinsics */                                                                    \
 553   VM_INTRINSICS_DO(VM_INTRINSIC_IGNORE, VM_SYMBOL_IGNORE, VM_SYMBOL_IGNORE, template, VM_ALIAS_IGNORE)            \
 554                                                                                                                   \
 555   /* symbol aliases needed by intrinsics */                                                                       \
 556   VM_INTRINSICS_DO(VM_INTRINSIC_IGNORE, VM_SYMBOL_IGNORE, VM_SYMBOL_IGNORE, VM_SYMBOL_IGNORE, do_alias)           \
 557                                                                                                                   \
 558   /* returned by the C1 compiler in case there's not enough memory to allocate a new symbol*/                     \
 559   template(dummy_symbol,                              "illegal symbol")                                           \
 560                                                                                                                   \
 561   /* used by ClassFormatError when class name is not known yet */                                                 \
 562   template(unknown_class_name,                        "<Unknown>")                                                \
 563                                                                                                                   \
 564   /* JVM monitoring and management support */                                                                     \
 565   template(java_lang_StackTraceElement_array,          "[Ljava/lang/StackTraceElement;")                          \
 566   template(java_lang_management_ThreadState,           "java/lang/management/ThreadState")                        \
 567   template(java_lang_management_MemoryUsage,           "java/lang/management/MemoryUsage")                        \
 568   template(java_lang_management_ThreadInfo,            "java/lang/management/ThreadInfo")                         \
 569   template(jdk_internal_agent_Agent,                   "jdk/internal/agent/Agent")                                \
 570   template(sun_management_Sensor,                      "sun/management/Sensor")                                   \
 571   template(sun_management_ManagementFactoryHelper,     "sun/management/ManagementFactoryHelper")                  \


< prev index next >