720 /* CDS */ \
721 template(createArchivedObjects, "createArchivedObjects") \
722 template(dumpSharedArchive, "dumpSharedArchive") \
723 template(dumpSharedArchive_signature, "(ZLjava/lang/String;)Ljava/lang/String;") \
724 template(generateLambdaFormHolderClasses, "generateLambdaFormHolderClasses") \
725 template(generateLambdaFormHolderClasses_signature, "([Ljava/lang/String;)[Ljava/lang/Object;") \
726 template(java_lang_Enum, "java/lang/Enum") \
727 template(java_lang_invoke_Invokers_Holder, "java/lang/invoke/Invokers$Holder") \
728 template(java_lang_invoke_DirectMethodHandle_Holder, "java/lang/invoke/DirectMethodHandle$Holder") \
729 template(java_lang_invoke_LambdaForm_Holder, "java/lang/invoke/LambdaForm$Holder") \
730 template(java_lang_invoke_DelegatingMethodHandle_Holder, "java/lang/invoke/DelegatingMethodHandle$Holder") \
731 template(jdk_internal_loader_ClassLoaders, "jdk/internal/loader/ClassLoaders") \
732 template(jdk_internal_misc_CDS, "jdk/internal/misc/CDS") \
733 template(java_util_concurrent_ConcurrentHashMap, "java/util/concurrent/ConcurrentHashMap") \
734 template(java_util_ArrayList, "java/util/ArrayList") \
735 template(runtimeSetup, "runtimeSetup") \
736 template(toFileURL_name, "toFileURL") \
737 template(toFileURL_signature, "(Ljava/lang/String;)Ljava/net/URL;") \
738 template(url_array_classloader_void_signature, "([Ljava/net/URL;Ljava/lang/ClassLoader;)V") \
739 \
740 /* Thread.dump_to_file jcmd */ \
741 template(jdk_internal_vm_ThreadDumper, "jdk/internal/vm/ThreadDumper") \
742 template(dumpThreads_name, "dumpThreads") \
743 template(dumpThreadsToJson_name, "dumpThreadsToJson") \
744
745 /*end*/
746
747 // enum for figuring positions and size of Symbol::_vm_symbols[]
748 enum class vmSymbolID : int {
749 // [FIRST_SID ... LAST_SID] is the iteration range for the *valid* symbols.
750 // NO_SID is used to indicate an invalid symbol. Some implementation code
751 // *may* read _vm_symbols[NO_SID], so it must be a valid array index.
752 NO_SID = 0, // exclusive lower limit
753
754 #define VM_SYMBOL_ENUM(name, string) VM_SYMBOL_ENUM_NAME_(name),
755 VM_SYMBOLS_DO(VM_SYMBOL_ENUM, VM_ALIAS_IGNORE)
756 #undef VM_SYMBOL_ENUM
757
758 SID_LIMIT, // exclusive upper limit
759
760 #define VM_ALIAS_ENUM(name, def) VM_SYMBOL_ENUM_NAME_(name) = VM_SYMBOL_ENUM_NAME_(def),
761 VM_SYMBOLS_DO(VM_SYMBOL_IGNORE, VM_ALIAS_ENUM)
762 #undef VM_ALIAS_ENUM
763
|
720 /* CDS */ \
721 template(createArchivedObjects, "createArchivedObjects") \
722 template(dumpSharedArchive, "dumpSharedArchive") \
723 template(dumpSharedArchive_signature, "(ZLjava/lang/String;)Ljava/lang/String;") \
724 template(generateLambdaFormHolderClasses, "generateLambdaFormHolderClasses") \
725 template(generateLambdaFormHolderClasses_signature, "([Ljava/lang/String;)[Ljava/lang/Object;") \
726 template(java_lang_Enum, "java/lang/Enum") \
727 template(java_lang_invoke_Invokers_Holder, "java/lang/invoke/Invokers$Holder") \
728 template(java_lang_invoke_DirectMethodHandle_Holder, "java/lang/invoke/DirectMethodHandle$Holder") \
729 template(java_lang_invoke_LambdaForm_Holder, "java/lang/invoke/LambdaForm$Holder") \
730 template(java_lang_invoke_DelegatingMethodHandle_Holder, "java/lang/invoke/DelegatingMethodHandle$Holder") \
731 template(jdk_internal_loader_ClassLoaders, "jdk/internal/loader/ClassLoaders") \
732 template(jdk_internal_misc_CDS, "jdk/internal/misc/CDS") \
733 template(java_util_concurrent_ConcurrentHashMap, "java/util/concurrent/ConcurrentHashMap") \
734 template(java_util_ArrayList, "java/util/ArrayList") \
735 template(runtimeSetup, "runtimeSetup") \
736 template(toFileURL_name, "toFileURL") \
737 template(toFileURL_signature, "(Ljava/lang/String;)Ljava/net/URL;") \
738 template(url_array_classloader_void_signature, "([Ljava/net/URL;Ljava/lang/ClassLoader;)V") \
739 \
740 /* jcmd Thread.dump_to_file */ \
741 template(jdk_internal_vm_ThreadDumper, "jdk/internal/vm/ThreadDumper") \
742 template(dumpThreads_name, "dumpThreads") \
743 template(dumpThreadsToJson_name, "dumpThreadsToJson") \
744 \
745 /* jcmd Thread.vthread_summary */ \
746 template(jdk_internal_vm_VThreadSummary, "jdk/internal/vm/VThreadSummary") \
747 template(print_name, "print") \
748
749 /*end*/
750
751 // enum for figuring positions and size of Symbol::_vm_symbols[]
752 enum class vmSymbolID : int {
753 // [FIRST_SID ... LAST_SID] is the iteration range for the *valid* symbols.
754 // NO_SID is used to indicate an invalid symbol. Some implementation code
755 // *may* read _vm_symbols[NO_SID], so it must be a valid array index.
756 NO_SID = 0, // exclusive lower limit
757
758 #define VM_SYMBOL_ENUM(name, string) VM_SYMBOL_ENUM_NAME_(name),
759 VM_SYMBOLS_DO(VM_SYMBOL_ENUM, VM_ALIAS_IGNORE)
760 #undef VM_SYMBOL_ENUM
761
762 SID_LIMIT, // exclusive upper limit
763
764 #define VM_ALIAS_ENUM(name, def) VM_SYMBOL_ENUM_NAME_(name) = VM_SYMBOL_ENUM_NAME_(def),
765 VM_SYMBOLS_DO(VM_SYMBOL_IGNORE, VM_ALIAS_ENUM)
766 #undef VM_ALIAS_ENUM
767
|