< prev index next >

src/hotspot/share/classfile/vmSymbols.hpp

Print this page

159                                                                                                   \
160   /* Java runtime version access */                                                               \
161   template(java_lang_VersionProps,                    "java/lang/VersionProps")                   \
162   template(java_version_name,                         "java_version")                             \
163   template(java_runtime_name_name,                    "java_runtime_name")                        \
164   template(java_runtime_version_name,                 "java_runtime_version")                     \
165   template(java_runtime_vendor_version_name,          "VENDOR_VERSION")                           \
166   template(java_runtime_vendor_vm_bug_url_name,       "VENDOR_URL_VM_BUG")                        \
167                                                                                                   \
168   /* system initialization */                                                                     \
169   template(initPhase1_name,                           "initPhase1")                               \
170   template(initPhase2_name,                           "initPhase2")                               \
171   template(initPhase3_name,                           "initPhase3")                               \
172   template(java_lang_module_init_signature,           "(Ljava/lang/ClassLoader;Ljava/lang/String;)V") \
173                                                                                                   \
174   /* class file format tags */                                                                    \
175   template(tag_source_file,                           "SourceFile")                               \
176   template(tag_inner_classes,                         "InnerClasses")                             \
177   template(tag_nest_members,                          "NestMembers")                              \
178   template(tag_nest_host,                             "NestHost")                                 \

179   template(tag_constant_value,                        "ConstantValue")                            \
180   template(tag_code,                                  "Code")                                     \
181   template(tag_exceptions,                            "Exceptions")                               \
182   template(tag_line_number_table,                     "LineNumberTable")                          \
183   template(tag_local_variable_table,                  "LocalVariableTable")                       \
184   template(tag_local_variable_type_table,             "LocalVariableTypeTable")                   \
185   template(tag_method_parameters,                     "MethodParameters")                         \
186   template(tag_stack_map_table,                       "StackMapTable")                            \
187   template(tag_synthetic,                             "Synthetic")                                \
188   template(tag_deprecated,                            "Deprecated")                               \
189   template(tag_source_debug_extension,                "SourceDebugExtension")                     \
190   template(tag_signature,                             "Signature")                                \
191   template(tag_record,                                "Record")                                   \
192   template(tag_runtime_visible_annotations,           "RuntimeVisibleAnnotations")                \
193   template(tag_runtime_invisible_annotations,         "RuntimeInvisibleAnnotations")              \
194   template(tag_runtime_visible_parameter_annotations, "RuntimeVisibleParameterAnnotations")       \
195   template(tag_runtime_invisible_parameter_annotations,"RuntimeInvisibleParameterAnnotations")    \
196   template(tag_annotation_default,                    "AnnotationDefault")                        \
197   template(tag_runtime_visible_type_annotations,      "RuntimeVisibleTypeAnnotations")            \
198   template(tag_runtime_invisible_type_annotations,    "RuntimeInvisibleTypeAnnotations")          \

370   template(jdk_internal_foreign_abi_VMStorage_signature,             "Ljdk/internal/foreign/abi/VMStorage;") \
371   template(jdk_internal_foreign_abi_VMStorage_array_signature,       "[Ljdk/internal/foreign/abi/VMStorage;") \
372   template(jdk_internal_foreign_abi_VMStorage_array_array_signature, "[[Ljdk/internal/foreign/abi/VMStorage;") \
373   template(jdk_internal_foreign_abi_CallConv,                        "jdk/internal/foreign/abi/UpcallLinker$CallRegs") \
374                                                                                                   \
375   /* Support for JVMCI */                                                                         \
376   JVMCI_VM_SYMBOLS_DO(template, do_alias)                                                         \
377                                                                                                   \
378   template(java_lang_StackWalker,                     "java/lang/StackWalker")                    \
379   template(java_lang_StackFrameInfo,                  "java/lang/StackFrameInfo")                 \
380   template(java_lang_LiveStackFrameInfo,              "java/lang/LiveStackFrameInfo")             \
381   template(java_lang_StackStreamFactory_AbstractStackWalker, "java/lang/StackStreamFactory$AbstractStackWalker") \
382   template(doStackWalk_signature,                     "(JIIII)Ljava/lang/Object;")                \
383   template(asPrimitive_name,                          "asPrimitive")                              \
384   template(asPrimitive_int_signature,                 "(I)Ljava/lang/LiveStackFrame$PrimitiveSlot;") \
385   template(asPrimitive_long_signature,                "(J)Ljava/lang/LiveStackFrame$PrimitiveSlot;") \
386                                                                                                   \
387   /* common method and field names */                                                             \
388   template(object_initializer_name,                   "<init>")                                   \
389   template(class_initializer_name,                    "<clinit>")                                 \

390   template(println_name,                              "println")                                  \
391   template(printStackTrace_name,                      "printStackTrace")                          \
392   template(getStackTrace_name,                        "getStackTrace")                            \
393   template(main_name,                                 "main")                                     \
394   template(name_name,                                 "name")                                     \
395   template(priority_name,                             "priority")                                 \
396   template(group_name,                                "group")                                    \
397   template(daemon_name,                               "daemon")                                   \
398   template(run_method_name,                           "run")                                      \
399   template(interrupt_method_name,                     "interrupt")                                \
400   template(exit_method_name,                          "exit")                                     \
401   template(remove_method_name,                        "remove")                                   \
402   template(parent_name,                               "parent")                                   \
403   template(ngroups_name,                              "ngroups")                                  \
404   template(groups_name,                               "groups")                                   \
405   template(nweaks_name,                               "nweaks")                                   \
406   template(weaks_name,                                "weaks")                                    \
407   template(maxPriority_name,                          "maxPriority")                              \
408   template(shutdown_name,                             "shutdown")                                 \
409   template(finalize_method_name,                      "finalize")                                 \

507   template(getModule_name,                            "getModule")                                \
508   template(input_stream_void_signature,               "(Ljava/io/InputStream;)V")                 \
509   template(input_stream_signature,                    "Ljava/io/InputStream;")                    \
510   template(print_stream_signature,                    "Ljava/io/PrintStream;")                    \
511   template(security_manager_signature,                "Ljava/lang/SecurityManager;")              \
512   template(defineOrCheckPackage_name,                 "defineOrCheckPackage")                     \
513   template(defineOrCheckPackage_signature,            "(Ljava/lang/String;Ljava/util/jar/Manifest;Ljava/net/URL;)Ljava/lang/Package;") \
514   template(getProtectionDomain_name,                  "getProtectionDomain")                      \
515   template(getProtectionDomain_signature,             "(Ljava/security/CodeSource;)Ljava/security/ProtectionDomain;") \
516   template(java_lang_Integer_array_signature,         "[Ljava/lang/Integer;")                     \
517   template(java_lang_Long_array_signature,            "[Ljava/lang/Long;")                        \
518   template(java_lang_Character_array_signature,       "[Ljava/lang/Character;")                   \
519   template(java_lang_Short_array_signature,           "[Ljava/lang/Short;")                       \
520   template(java_lang_Byte_array_signature,            "[Ljava/lang/Byte;")                        \
521   template(java_lang_Boolean_signature,               "Ljava/lang/Boolean;")                      \
522   template(url_code_signer_array_void_signature,      "(Ljava/net/URL;[Ljava/security/CodeSigner;)V") \
523   template(jvmti_thread_state_name,                   "jvmti_thread_state")                       \
524   template(module_entry_name,                         "module_entry")                             \
525   template(resolved_references_name,                  "<resolved_references>")                    \
526   template(init_lock_name,                            "<init_lock>")                              \


527   template(address_size_name,                         "ADDRESS_SIZE0")                            \
528   template(page_size_name,                            "PAGE_SIZE")                                \
529   template(big_endian_name,                           "BIG_ENDIAN")                               \
530   template(use_unaligned_access_name,                 "UNALIGNED_ACCESS")                         \
531   template(data_cache_line_flush_size_name,           "DATA_CACHE_LINE_FLUSH_SIZE")               \
532   template(during_unsafe_access_name,                 "during_unsafe_access")                     \
533   template(checkIndex_name,                           "checkIndex")                               \
534   template(jfr_epoch_name,                            "jfr_epoch")                                \
535   template(maxThawingSize_name,                       "maxThawingSize")                           \
536                                                                                                   \
537   /* name symbols needed by intrinsics */                                                         \
538   VM_INTRINSICS_DO(VM_INTRINSIC_IGNORE, VM_SYMBOL_IGNORE, template, VM_SYMBOL_IGNORE, VM_ALIAS_IGNORE) \
539                                                                                                   \
540   /* common signatures names */                                                                   \
541   template(void_method_signature,                     "()V")                                      \
542   template(void_boolean_signature,                    "()Z")                                      \
543   template(void_byte_signature,                       "()B")                                      \
544   template(void_char_signature,                       "()C")                                      \
545   template(void_short_signature,                      "()S")                                      \
546   template(void_int_signature,                        "()I")                                      \

582   template(continuation_signature,                    "Ljdk/internal/vm/Continuation;")           \
583   template(continuationscope_signature,               "Ljdk/internal/vm/ContinuationScope;")      \
584   template(stackchunk_signature,                      "Ljdk/internal/vm/StackChunk;")             \
585   template(vthread_signature,                         "Ljava/lang/VirtualThread;")                \
586   template(object_void_signature,                     "(Ljava/lang/Object;)V")                    \
587   template(object_int_signature,                      "(Ljava/lang/Object;)I")                    \
588   template(long_object_long_signature,                "(JLjava/lang/Object;)J")                   \
589   template(object_boolean_signature,                  "(Ljava/lang/Object;)Z")                    \
590   template(object_object_signature,                   "(Ljava/lang/Object;)Ljava/lang/Object;")   \
591   template(string_void_signature,                     "(Ljava/lang/String;)V")                    \
592   template(string_int_signature,                      "(Ljava/lang/String;)I")                    \
593   template(string_byte_array_signature,               "(Ljava/lang/String;)[B")                   \
594   template(string_bool_byte_array_signature,          "(Ljava/lang/String;Z)[B")                  \
595   template(throwable_signature,                       "Ljava/lang/Throwable;")                    \
596   template(throwable_void_signature,                  "(Ljava/lang/Throwable;)V")                 \
597   template(void_throwable_signature,                  "()Ljava/lang/Throwable;")                  \
598   template(class_void_signature,                      "(Ljava/lang/Class;)V")                     \
599   template(class_int_signature,                       "(Ljava/lang/Class;)I")                     \
600   template(class_long_signature,                      "(Ljava/lang/Class;)J")                     \
601   template(class_boolean_signature,                   "(Ljava/lang/Class;)Z")                     \

602   template(throwable_throwable_signature,             "(Ljava/lang/Throwable;)Ljava/lang/Throwable;")             \
603   template(throwable_string_void_signature,           "(Ljava/lang/Throwable;Ljava/lang/String;)V")               \
604   template(string_array_void_signature,               "([Ljava/lang/String;)V")                                   \
605   template(string_array_string_array_void_signature,  "([Ljava/lang/String;[Ljava/lang/String;)V")                \
606   template(thread_throwable_void_signature,           "(Ljava/lang/Thread;Ljava/lang/Throwable;)V")               \
607   template(thread_void_signature,                     "(Ljava/lang/Thread;)V")                                    \
608   template(threadgroup_runnable_void_signature,       "(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;)V")           \
609   template(threadgroup_string_void_signature,         "(Ljava/lang/ThreadGroup;Ljava/lang/String;)V")             \
610   template(string_class_signature,                    "(Ljava/lang/String;)Ljava/lang/Class;")                    \
611   template(string_boolean_class_signature,            "(Ljava/lang/String;Z)Ljava/lang/Class;")                   \
612   template(object_object_object_signature,            "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;") \

613   template(string_string_string_signature,            "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;") \
614   template(string_string_signature,                   "(Ljava/lang/String;)Ljava/lang/String;")                   \
615   template(classloader_string_long_signature,         "(Ljava/lang/ClassLoader;Ljava/lang/String;)J")             \
616   template(byte_array_void_signature,                 "([B)V")                                                    \
617   template(char_array_void_signature,                 "([C)V")                                                    \
618   template(int_int_void_signature,                    "(II)V")                                                    \
619   template(long_long_void_signature,                  "(JJ)V")                                                    \
620   template(void_byte_array_signature,                 "()[B")                                                     \
621   template(void_classloader_signature,                "()Ljava/lang/ClassLoader;")                                \
622   template(void_BuiltinClassLoader_signature,         "()Ljdk/internal/loader/BuiltinClassLoader;")               \
623   template(void_object_signature,                     "()Ljava/lang/Object;")                                     \
624   template(void_class_signature,                      "()Ljava/lang/Class;")                                      \
625   template(void_class_array_signature,                "()[Ljava/lang/Class;")                                     \
626   template(void_string_signature,                     "()Ljava/lang/String;")                                     \
627   template(void_module_signature,                     "()Ljava/lang/Module;")                                     \
628   template(object_array_object_signature,             "([Ljava/lang/Object;)Ljava/lang/Object;")                  \
629   template(object_object_array_object_signature,      "(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;")\
630   template(exception_void_signature,                  "(Ljava/lang/Exception;)V")                                 \
631   template(protectiondomain_signature,                "[Ljava/security/ProtectionDomain;")                        \
632   template(accesscontrolcontext_signature,            "Ljava/security/AccessControlContext;")                     \

730   template(addReads_name,                              "addReads")                                                \
731   template(addReads_signature,                         "(Ljava/lang/Module;Ljava/lang/Module;)V")                 \
732   template(addExports_name,                            "addExports")                                              \
733   template(addOpens_name,                              "addOpens")                                                \
734   template(addExports_signature,                       "(Ljava/lang/Module;Ljava/lang/String;Ljava/lang/Module;)V") \
735   template(addUses_name,                               "addUses")                                                 \
736   template(addUses_signature,                          "(Ljava/lang/Module;Ljava/lang/Class;)V")                  \
737   template(addProvides_name,                           "addProvides")                                             \
738   template(addProvides_signature,                      "(Ljava/lang/Module;Ljava/lang/Class;Ljava/lang/Class;)V") \
739   template(loadModule_name,                            "loadModule")                                              \
740   template(loadModule_signature,                       "(Ljava/lang/String;)Ljava/lang/Module;")                  \
741   template(transformedByAgent_name,                    "transformedByAgent")                                      \
742   template(transformedByAgent_signature,               "(Ljava/lang/Module;)V")                                   \
743   template(appendToClassPathForInstrumentation_name,   "appendToClassPathForInstrumentation")                     \
744   do_alias(appendToClassPathForInstrumentation_signature, string_void_signature)                                  \
745   template(serializePropertiesToByteArray_name,        "serializePropertiesToByteArray")                          \
746   template(serializeAgentPropertiesToByteArray_name,   "serializeAgentPropertiesToByteArray")                     \
747   template(classRedefinedCount_name,                   "classRedefinedCount")                                     \
748   template(classLoader_name,                           "classLoader")                                             \
749   template(componentType_name,                         "componentType")                                           \


750                                                                                                                   \
751   /* forEachRemaining support */                                                                                  \
752   template(java_util_stream_StreamsRangeIntSpliterator,          "java/util/stream/Streams$RangeIntSpliterator")  \
753                                                                                                                   \
754   /* jfr signatures */                                                                                            \
755   JFR_TEMPLATES(template)                                                                                         \
756                                                                                                                   \
757   /* CDS */                                                                                                       \
758   template(dumpSharedArchive,                               "dumpSharedArchive")                                  \
759   template(dumpSharedArchive_signature,                     "(ZLjava/lang/String;)Ljava/lang/String;")            \
760   template(generateLambdaFormHolderClasses,                 "generateLambdaFormHolderClasses")                    \
761   template(generateLambdaFormHolderClasses_signature,       "([Ljava/lang/String;)[Ljava/lang/Object;")           \
762   template(java_lang_Enum,                                  "java/lang/Enum")                                     \
763   template(java_lang_invoke_Invokers_Holder,                "java/lang/invoke/Invokers$Holder")                   \
764   template(java_lang_invoke_DirectMethodHandle_Holder,      "java/lang/invoke/DirectMethodHandle$Holder")         \
765   template(java_lang_invoke_LambdaForm_Holder,              "java/lang/invoke/LambdaForm$Holder")                 \
766   template(java_lang_invoke_DelegatingMethodHandle_Holder,  "java/lang/invoke/DelegatingMethodHandle$Holder")     \
767   template(jdk_internal_loader_ClassLoaders,                "jdk/internal/loader/ClassLoaders")                   \
768   template(jdk_internal_misc_CDS,                           "jdk/internal/misc/CDS")                              \
769   template(java_util_concurrent_ConcurrentHashMap,          "java/util/concurrent/ConcurrentHashMap")             \
770   template(java_util_ArrayList,                             "java/util/ArrayList")                                \
771   template(toFileURL_name,                                  "toFileURL")                                          \
772   template(toFileURL_signature,                             "(Ljava/lang/String;)Ljava/net/URL;")                 \
773   template(url_void_signature,                              "(Ljava/net/URL;)V")                                  \
774   template(url_array_classloader_void_signature,            "([Ljava/net/URL;Ljava/lang/ClassLoader;)V")          \
775                                                                                                                   \





776   /* Thread.dump_to_file jcmd */                                                                                  \
777   template(jdk_internal_vm_ThreadDumper,           "jdk/internal/vm/ThreadDumper")                                \
778   template(dumpThreads_name,                       "dumpThreads")                                                 \
779   template(dumpThreadsToJson_name,                 "dumpThreadsToJson")                                           \
780 
781   /*end*/
782 
783 // enum for figuring positions and size of Symbol::_vm_symbols[]
784 enum class vmSymbolID : int {
785   // [FIRST_SID ... LAST_SID] is the iteration range for the *valid* symbols.
786   // NO_SID is used to indicate an invalid symbol. Some implementation code
787   // *may* read _vm_symbols[NO_SID], so it must be a valid array index.
788   NO_SID = 0,                // exclusive lower limit
789 
790   #define VM_SYMBOL_ENUM(name, string) VM_SYMBOL_ENUM_NAME_(name),
791   VM_SYMBOLS_DO(VM_SYMBOL_ENUM, VM_ALIAS_IGNORE)
792   #undef VM_SYMBOL_ENUM
793 
794   SID_LIMIT,                 // exclusive upper limit
795 

159                                                                                                   \
160   /* Java runtime version access */                                                               \
161   template(java_lang_VersionProps,                    "java/lang/VersionProps")                   \
162   template(java_version_name,                         "java_version")                             \
163   template(java_runtime_name_name,                    "java_runtime_name")                        \
164   template(java_runtime_version_name,                 "java_runtime_version")                     \
165   template(java_runtime_vendor_version_name,          "VENDOR_VERSION")                           \
166   template(java_runtime_vendor_vm_bug_url_name,       "VENDOR_URL_VM_BUG")                        \
167                                                                                                   \
168   /* system initialization */                                                                     \
169   template(initPhase1_name,                           "initPhase1")                               \
170   template(initPhase2_name,                           "initPhase2")                               \
171   template(initPhase3_name,                           "initPhase3")                               \
172   template(java_lang_module_init_signature,           "(Ljava/lang/ClassLoader;Ljava/lang/String;)V") \
173                                                                                                   \
174   /* class file format tags */                                                                    \
175   template(tag_source_file,                           "SourceFile")                               \
176   template(tag_inner_classes,                         "InnerClasses")                             \
177   template(tag_nest_members,                          "NestMembers")                              \
178   template(tag_nest_host,                             "NestHost")                                 \
179   template(tag_preload,                               "Preload")                                  \
180   template(tag_constant_value,                        "ConstantValue")                            \
181   template(tag_code,                                  "Code")                                     \
182   template(tag_exceptions,                            "Exceptions")                               \
183   template(tag_line_number_table,                     "LineNumberTable")                          \
184   template(tag_local_variable_table,                  "LocalVariableTable")                       \
185   template(tag_local_variable_type_table,             "LocalVariableTypeTable")                   \
186   template(tag_method_parameters,                     "MethodParameters")                         \
187   template(tag_stack_map_table,                       "StackMapTable")                            \
188   template(tag_synthetic,                             "Synthetic")                                \
189   template(tag_deprecated,                            "Deprecated")                               \
190   template(tag_source_debug_extension,                "SourceDebugExtension")                     \
191   template(tag_signature,                             "Signature")                                \
192   template(tag_record,                                "Record")                                   \
193   template(tag_runtime_visible_annotations,           "RuntimeVisibleAnnotations")                \
194   template(tag_runtime_invisible_annotations,         "RuntimeInvisibleAnnotations")              \
195   template(tag_runtime_visible_parameter_annotations, "RuntimeVisibleParameterAnnotations")       \
196   template(tag_runtime_invisible_parameter_annotations,"RuntimeInvisibleParameterAnnotations")    \
197   template(tag_annotation_default,                    "AnnotationDefault")                        \
198   template(tag_runtime_visible_type_annotations,      "RuntimeVisibleTypeAnnotations")            \
199   template(tag_runtime_invisible_type_annotations,    "RuntimeInvisibleTypeAnnotations")          \

371   template(jdk_internal_foreign_abi_VMStorage_signature,             "Ljdk/internal/foreign/abi/VMStorage;") \
372   template(jdk_internal_foreign_abi_VMStorage_array_signature,       "[Ljdk/internal/foreign/abi/VMStorage;") \
373   template(jdk_internal_foreign_abi_VMStorage_array_array_signature, "[[Ljdk/internal/foreign/abi/VMStorage;") \
374   template(jdk_internal_foreign_abi_CallConv,                        "jdk/internal/foreign/abi/UpcallLinker$CallRegs") \
375                                                                                                   \
376   /* Support for JVMCI */                                                                         \
377   JVMCI_VM_SYMBOLS_DO(template, do_alias)                                                         \
378                                                                                                   \
379   template(java_lang_StackWalker,                     "java/lang/StackWalker")                    \
380   template(java_lang_StackFrameInfo,                  "java/lang/StackFrameInfo")                 \
381   template(java_lang_LiveStackFrameInfo,              "java/lang/LiveStackFrameInfo")             \
382   template(java_lang_StackStreamFactory_AbstractStackWalker, "java/lang/StackStreamFactory$AbstractStackWalker") \
383   template(doStackWalk_signature,                     "(JIIII)Ljava/lang/Object;")                \
384   template(asPrimitive_name,                          "asPrimitive")                              \
385   template(asPrimitive_int_signature,                 "(I)Ljava/lang/LiveStackFrame$PrimitiveSlot;") \
386   template(asPrimitive_long_signature,                "(J)Ljava/lang/LiveStackFrame$PrimitiveSlot;") \
387                                                                                                   \
388   /* common method and field names */                                                             \
389   template(object_initializer_name,                   "<init>")                                   \
390   template(class_initializer_name,                    "<clinit>")                                 \
391   template(inline_factory_name,                       "<vnew>")                                   \
392   template(println_name,                              "println")                                  \
393   template(printStackTrace_name,                      "printStackTrace")                          \
394   template(getStackTrace_name,                        "getStackTrace")                            \
395   template(main_name,                                 "main")                                     \
396   template(name_name,                                 "name")                                     \
397   template(priority_name,                             "priority")                                 \
398   template(group_name,                                "group")                                    \
399   template(daemon_name,                               "daemon")                                   \
400   template(run_method_name,                           "run")                                      \
401   template(interrupt_method_name,                     "interrupt")                                \
402   template(exit_method_name,                          "exit")                                     \
403   template(remove_method_name,                        "remove")                                   \
404   template(parent_name,                               "parent")                                   \
405   template(ngroups_name,                              "ngroups")                                  \
406   template(groups_name,                               "groups")                                   \
407   template(nweaks_name,                               "nweaks")                                   \
408   template(weaks_name,                                "weaks")                                    \
409   template(maxPriority_name,                          "maxPriority")                              \
410   template(shutdown_name,                             "shutdown")                                 \
411   template(finalize_method_name,                      "finalize")                                 \

509   template(getModule_name,                            "getModule")                                \
510   template(input_stream_void_signature,               "(Ljava/io/InputStream;)V")                 \
511   template(input_stream_signature,                    "Ljava/io/InputStream;")                    \
512   template(print_stream_signature,                    "Ljava/io/PrintStream;")                    \
513   template(security_manager_signature,                "Ljava/lang/SecurityManager;")              \
514   template(defineOrCheckPackage_name,                 "defineOrCheckPackage")                     \
515   template(defineOrCheckPackage_signature,            "(Ljava/lang/String;Ljava/util/jar/Manifest;Ljava/net/URL;)Ljava/lang/Package;") \
516   template(getProtectionDomain_name,                  "getProtectionDomain")                      \
517   template(getProtectionDomain_signature,             "(Ljava/security/CodeSource;)Ljava/security/ProtectionDomain;") \
518   template(java_lang_Integer_array_signature,         "[Ljava/lang/Integer;")                     \
519   template(java_lang_Long_array_signature,            "[Ljava/lang/Long;")                        \
520   template(java_lang_Character_array_signature,       "[Ljava/lang/Character;")                   \
521   template(java_lang_Short_array_signature,           "[Ljava/lang/Short;")                       \
522   template(java_lang_Byte_array_signature,            "[Ljava/lang/Byte;")                        \
523   template(java_lang_Boolean_signature,               "Ljava/lang/Boolean;")                      \
524   template(url_code_signer_array_void_signature,      "(Ljava/net/URL;[Ljava/security/CodeSigner;)V") \
525   template(jvmti_thread_state_name,                   "jvmti_thread_state")                       \
526   template(module_entry_name,                         "module_entry")                             \
527   template(resolved_references_name,                  "<resolved_references>")                    \
528   template(init_lock_name,                            "<init_lock>")                              \
529   template(default_value_name,                        ".default")                                 \
530   template(empty_marker_name,                         ".empty")                                   \
531   template(address_size_name,                         "ADDRESS_SIZE0")                            \
532   template(page_size_name,                            "PAGE_SIZE")                                \
533   template(big_endian_name,                           "BIG_ENDIAN")                               \
534   template(use_unaligned_access_name,                 "UNALIGNED_ACCESS")                         \
535   template(data_cache_line_flush_size_name,           "DATA_CACHE_LINE_FLUSH_SIZE")               \
536   template(during_unsafe_access_name,                 "during_unsafe_access")                     \
537   template(checkIndex_name,                           "checkIndex")                               \
538   template(jfr_epoch_name,                            "jfr_epoch")                                \
539   template(maxThawingSize_name,                       "maxThawingSize")                           \
540                                                                                                   \
541   /* name symbols needed by intrinsics */                                                         \
542   VM_INTRINSICS_DO(VM_INTRINSIC_IGNORE, VM_SYMBOL_IGNORE, template, VM_SYMBOL_IGNORE, VM_ALIAS_IGNORE) \
543                                                                                                   \
544   /* common signatures names */                                                                   \
545   template(void_method_signature,                     "()V")                                      \
546   template(void_boolean_signature,                    "()Z")                                      \
547   template(void_byte_signature,                       "()B")                                      \
548   template(void_char_signature,                       "()C")                                      \
549   template(void_short_signature,                      "()S")                                      \
550   template(void_int_signature,                        "()I")                                      \

586   template(continuation_signature,                    "Ljdk/internal/vm/Continuation;")           \
587   template(continuationscope_signature,               "Ljdk/internal/vm/ContinuationScope;")      \
588   template(stackchunk_signature,                      "Ljdk/internal/vm/StackChunk;")             \
589   template(vthread_signature,                         "Ljava/lang/VirtualThread;")                \
590   template(object_void_signature,                     "(Ljava/lang/Object;)V")                    \
591   template(object_int_signature,                      "(Ljava/lang/Object;)I")                    \
592   template(long_object_long_signature,                "(JLjava/lang/Object;)J")                   \
593   template(object_boolean_signature,                  "(Ljava/lang/Object;)Z")                    \
594   template(object_object_signature,                   "(Ljava/lang/Object;)Ljava/lang/Object;")   \
595   template(string_void_signature,                     "(Ljava/lang/String;)V")                    \
596   template(string_int_signature,                      "(Ljava/lang/String;)I")                    \
597   template(string_byte_array_signature,               "(Ljava/lang/String;)[B")                   \
598   template(string_bool_byte_array_signature,          "(Ljava/lang/String;Z)[B")                  \
599   template(throwable_signature,                       "Ljava/lang/Throwable;")                    \
600   template(throwable_void_signature,                  "(Ljava/lang/Throwable;)V")                 \
601   template(void_throwable_signature,                  "()Ljava/lang/Throwable;")                  \
602   template(class_void_signature,                      "(Ljava/lang/Class;)V")                     \
603   template(class_int_signature,                       "(Ljava/lang/Class;)I")                     \
604   template(class_long_signature,                      "(Ljava/lang/Class;)J")                     \
605   template(class_boolean_signature,                   "(Ljava/lang/Class;)Z")                     \
606   template(class_class_signature,                     "(Ljava/lang/Class;)Ljava/lang/Class;")     \
607   template(throwable_throwable_signature,             "(Ljava/lang/Throwable;)Ljava/lang/Throwable;")             \
608   template(throwable_string_void_signature,           "(Ljava/lang/Throwable;Ljava/lang/String;)V")               \
609   template(string_array_void_signature,               "([Ljava/lang/String;)V")                                   \
610   template(string_array_string_array_void_signature,  "([Ljava/lang/String;[Ljava/lang/String;)V")                \
611   template(thread_throwable_void_signature,           "(Ljava/lang/Thread;Ljava/lang/Throwable;)V")               \
612   template(thread_void_signature,                     "(Ljava/lang/Thread;)V")                                    \
613   template(threadgroup_runnable_void_signature,       "(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;)V")           \
614   template(threadgroup_string_void_signature,         "(Ljava/lang/ThreadGroup;Ljava/lang/String;)V")             \
615   template(string_class_signature,                    "(Ljava/lang/String;)Ljava/lang/Class;")                    \
616   template(string_boolean_class_signature,            "(Ljava/lang/String;Z)Ljava/lang/Class;")                   \
617   template(object_object_object_signature,            "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;") \
618   template(object_object_boolean_signature,           "(Ljava/lang/Object;Ljava/lang/Object;)Z") \
619   template(string_string_string_signature,            "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;") \
620   template(string_string_signature,                   "(Ljava/lang/String;)Ljava/lang/String;")                   \
621   template(classloader_string_long_signature,         "(Ljava/lang/ClassLoader;Ljava/lang/String;)J")             \
622   template(byte_array_void_signature,                 "([B)V")                                                    \
623   template(char_array_void_signature,                 "([C)V")                                                    \
624   template(int_int_void_signature,                    "(II)V")                                                    \
625   template(long_long_void_signature,                  "(JJ)V")                                                    \
626   template(void_byte_array_signature,                 "()[B")                                                     \
627   template(void_classloader_signature,                "()Ljava/lang/ClassLoader;")                                \
628   template(void_BuiltinClassLoader_signature,         "()Ljdk/internal/loader/BuiltinClassLoader;")               \
629   template(void_object_signature,                     "()Ljava/lang/Object;")                                     \
630   template(void_class_signature,                      "()Ljava/lang/Class;")                                      \
631   template(void_class_array_signature,                "()[Ljava/lang/Class;")                                     \
632   template(void_string_signature,                     "()Ljava/lang/String;")                                     \
633   template(void_module_signature,                     "()Ljava/lang/Module;")                                     \
634   template(object_array_object_signature,             "([Ljava/lang/Object;)Ljava/lang/Object;")                  \
635   template(object_object_array_object_signature,      "(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;")\
636   template(exception_void_signature,                  "(Ljava/lang/Exception;)V")                                 \
637   template(protectiondomain_signature,                "[Ljava/security/ProtectionDomain;")                        \
638   template(accesscontrolcontext_signature,            "Ljava/security/AccessControlContext;")                     \

736   template(addReads_name,                              "addReads")                                                \
737   template(addReads_signature,                         "(Ljava/lang/Module;Ljava/lang/Module;)V")                 \
738   template(addExports_name,                            "addExports")                                              \
739   template(addOpens_name,                              "addOpens")                                                \
740   template(addExports_signature,                       "(Ljava/lang/Module;Ljava/lang/String;Ljava/lang/Module;)V") \
741   template(addUses_name,                               "addUses")                                                 \
742   template(addUses_signature,                          "(Ljava/lang/Module;Ljava/lang/Class;)V")                  \
743   template(addProvides_name,                           "addProvides")                                             \
744   template(addProvides_signature,                      "(Ljava/lang/Module;Ljava/lang/Class;Ljava/lang/Class;)V") \
745   template(loadModule_name,                            "loadModule")                                              \
746   template(loadModule_signature,                       "(Ljava/lang/String;)Ljava/lang/Module;")                  \
747   template(transformedByAgent_name,                    "transformedByAgent")                                      \
748   template(transformedByAgent_signature,               "(Ljava/lang/Module;)V")                                   \
749   template(appendToClassPathForInstrumentation_name,   "appendToClassPathForInstrumentation")                     \
750   do_alias(appendToClassPathForInstrumentation_signature, string_void_signature)                                  \
751   template(serializePropertiesToByteArray_name,        "serializePropertiesToByteArray")                          \
752   template(serializeAgentPropertiesToByteArray_name,   "serializeAgentPropertiesToByteArray")                     \
753   template(classRedefinedCount_name,                   "classRedefinedCount")                                     \
754   template(classLoader_name,                           "classLoader")                                             \
755   template(componentType_name,                         "componentType")                                           \
756   template(primaryType_name,                           "primaryType")                                             \
757   template(secondaryType_name,                         "secondaryType")                                           \
758                                                                                                                   \
759   /* forEachRemaining support */                                                                                  \
760   template(java_util_stream_StreamsRangeIntSpliterator,          "java/util/stream/Streams$RangeIntSpliterator")  \
761                                                                                                                   \
762   /* jfr signatures */                                                                                            \
763   JFR_TEMPLATES(template)                                                                                         \
764                                                                                                                   \
765   /* CDS */                                                                                                       \
766   template(dumpSharedArchive,                               "dumpSharedArchive")                                  \
767   template(dumpSharedArchive_signature,                     "(ZLjava/lang/String;)Ljava/lang/String;")            \
768   template(generateLambdaFormHolderClasses,                 "generateLambdaFormHolderClasses")                    \
769   template(generateLambdaFormHolderClasses_signature,       "([Ljava/lang/String;)[Ljava/lang/Object;")           \
770   template(java_lang_Enum,                                  "java/lang/Enum")                                     \
771   template(java_lang_invoke_Invokers_Holder,                "java/lang/invoke/Invokers$Holder")                   \
772   template(java_lang_invoke_DirectMethodHandle_Holder,      "java/lang/invoke/DirectMethodHandle$Holder")         \
773   template(java_lang_invoke_LambdaForm_Holder,              "java/lang/invoke/LambdaForm$Holder")                 \
774   template(java_lang_invoke_DelegatingMethodHandle_Holder,  "java/lang/invoke/DelegatingMethodHandle$Holder")     \
775   template(jdk_internal_loader_ClassLoaders,                "jdk/internal/loader/ClassLoaders")                   \
776   template(jdk_internal_misc_CDS,                           "jdk/internal/misc/CDS")                              \
777   template(java_util_concurrent_ConcurrentHashMap,          "java/util/concurrent/ConcurrentHashMap")             \
778   template(java_util_ArrayList,                             "java/util/ArrayList")                                \
779   template(toFileURL_name,                                  "toFileURL")                                          \
780   template(toFileURL_signature,                             "(Ljava/lang/String;)Ljava/net/URL;")                 \
781   template(url_void_signature,                              "(Ljava/net/URL;)V")                                  \
782   template(url_array_classloader_void_signature,            "([Ljava/net/URL;Ljava/lang/ClassLoader;)V")          \
783                                                                                                                   \
784   template(java_lang_runtime_ValueObjectMethods,            "java/lang/runtime/ValueObjectMethods")               \
785   template(isSubstitutable_name,                            "isSubstitutable")                                    \
786   template(valueObjectHashCode_name,                        "valueObjectHashCode")                                \
787   template(jdk_internal_value_PrimitiveClass,               "jdk/internal/value/PrimitiveClass")                  \
788                                                                                                                   \
789   /* Thread.dump_to_file jcmd */                                                                                  \
790   template(jdk_internal_vm_ThreadDumper,           "jdk/internal/vm/ThreadDumper")                                \
791   template(dumpThreads_name,                       "dumpThreads")                                                 \
792   template(dumpThreadsToJson_name,                 "dumpThreadsToJson")                                           \
793 
794   /*end*/
795 
796 // enum for figuring positions and size of Symbol::_vm_symbols[]
797 enum class vmSymbolID : int {
798   // [FIRST_SID ... LAST_SID] is the iteration range for the *valid* symbols.
799   // NO_SID is used to indicate an invalid symbol. Some implementation code
800   // *may* read _vm_symbols[NO_SID], so it must be a valid array index.
801   NO_SID = 0,                // exclusive lower limit
802 
803   #define VM_SYMBOL_ENUM(name, string) VM_SYMBOL_ENUM_NAME_(name),
804   VM_SYMBOLS_DO(VM_SYMBOL_ENUM, VM_ALIAS_IGNORE)
805   #undef VM_SYMBOL_ENUM
806 
807   SID_LIMIT,                 // exclusive upper limit
808 
< prev index next >