< prev index next >

src/hotspot/share/classfile/vmSymbols.hpp

Print this page
@@ -60,15 +60,23 @@
    template(java_lang_Module,                          "java/lang/Module")                         \
    template(java_lang_String,                          "java/lang/String")                         \
    template(java_lang_StringLatin1,                    "java/lang/StringLatin1")                   \
    template(java_lang_StringUTF16,                     "java/lang/StringUTF16")                    \
    template(java_lang_Thread,                          "java/lang/Thread")                         \
+   template(java_lang_Thread_FieldHolder,              "java/lang/Thread$FieldHolder")             \
+   template(java_lang_Thread_VirtualThreads,           "java/lang/Thread$VirtualThreads")          \
+   template(java_lang_Thread_ClassLoaders,             "java/lang/Thread$ClassLoaders")            \
    template(java_lang_ThreadGroup,                     "java/lang/ThreadGroup")                    \
+   template(java_lang_VirtualThread,                   "java/lang/VirtualThread")                  \
    template(java_lang_Cloneable,                       "java/lang/Cloneable")                      \
    template(java_lang_Throwable,                       "java/lang/Throwable")                      \
    template(java_lang_ClassLoader,                     "java/lang/ClassLoader")                    \
    template(java_lang_ThreadDeath,                     "java/lang/ThreadDeath")                    \
+   template(java_lang_Runnable,                        "java/lang/Runnable")                       \
+   /*template(jdk_internal_vm_Continuation,            "jdk/internal/vm/Continuation")           */\
+   template(jdk_internal_vm_ContinuationScope,         "jdk/internal/vm/ContinuationScope")        \
+   template(jdk_internal_vm_StackChunk,                "jdk/internal/vm/StackChunk")               \
    template(java_lang_Boolean,                         "java/lang/Boolean")                        \
    template(java_lang_Character,                       "java/lang/Character")                      \
    template(java_lang_Character_CharacterCache,        "java/lang/Character$CharacterCache")       \
    template(java_lang_CharacterDataLatin1,             "java/lang/CharacterDataLatin1")            \
    template(java_lang_Float,                           "java/lang/Float")                          \

@@ -305,10 +313,14 @@
    template(jdk_internal_vm_annotation_ForceInline_signature, "Ljdk/internal/vm/annotation/ForceInline;") \
    template(jdk_internal_vm_annotation_Hidden_signature,      "Ljdk/internal/vm/annotation/Hidden;") \
    template(jdk_internal_misc_Scoped_signature,               "Ljdk/internal/misc/ScopedMemoryAccess$Scoped;") \
    template(jdk_internal_vm_annotation_IntrinsicCandidate_signature, "Ljdk/internal/vm/annotation/IntrinsicCandidate;") \
    template(jdk_internal_vm_annotation_Stable_signature,      "Ljdk/internal/vm/annotation/Stable;") \
+                                                                                                   \
+   template(jdk_internal_vm_annotation_ChangesCurrentThread_signature,  "Ljdk/internal/vm/annotation/ChangesCurrentThread;")  \
+   template(jdk_internal_vm_annotation_JvmtiMountTransition_signature,  "Ljdk/internal/vm/annotation/JvmtiMountTransition;")  \
+                                                                                                   \
    /* Support for JSR 292 & invokedynamic (JDK 1.7 and above) */                                   \
    template(java_lang_invoke_CallSite,                 "java/lang/invoke/CallSite")                \
    template(java_lang_invoke_ConstantCallSite,         "java/lang/invoke/ConstantCallSite")        \
    template(java_lang_invoke_DirectMethodHandle,       "java/lang/invoke/DirectMethodHandle")      \
    template(java_lang_invoke_MutableCallSite,          "java/lang/invoke/MutableCallSite")         \

@@ -376,27 +388,53 @@
    template(priority_name,                             "priority")                                 \
    template(stillborn_name,                            "stillborn")                                \
    template(group_name,                                "group")                                    \
    template(daemon_name,                               "daemon")                                   \
    template(run_method_name,                           "run")                                      \
+   template(interrupt_method_name,                     "interrupt")                                \
    template(exit_method_name,                          "exit")                                     \
-   template(add_method_name,                           "add")                                      \
    template(remove_method_name,                        "remove")                                   \
    template(parent_name,                               "parent")                                   \
-   template(threads_name,                              "threads")                                  \
+   template(ngroups_name,                              "ngroups")                                  \
    template(groups_name,                               "groups")                                   \
+   template(nweaks_name,                               "nweaks")                                   \
+   template(weaks_name,                                "weaks")                                    \
    template(maxPriority_name,                          "maxPriority")                              \
-   template(destroyed_name,                            "destroyed")                                \
-   template(nthreads_name,                             "nthreads")                                 \
-   template(ngroups_name,                              "ngroups")                                  \
    template(shutdown_name,                             "shutdown")                                 \
    template(finalize_method_name,                      "finalize")                                 \
    template(reference_lock_name,                       "lock")                                     \
    template(reference_discovered_name,                 "discovered")                               \
    template(run_finalization_name,                     "runFinalization")                          \
    template(dispatchUncaughtException_name,            "dispatchUncaughtException")                \
    template(loadClass_name,                            "loadClass")                                \
+   template(doYield_name,                              "doYield")                                  \
+   template(enter_name,                                "enter")                                    \
+   template(enterSpecial_name,                         "enterSpecial")                             \
+   template(onContinue_name,                           "onContinue0")                              \
+   template(getStacks_name,                            "getStacks")                                \
+   template(onPinned_name,                             "onPinned0")                                \
+   template(scope_name,                                "scope")                                    \
+   template(yieldInfo_name,                            "yieldInfo")                                \
+   template(tail_name,                                 "tail")                                     \
+   template(size_name,                                 "size")                                     \
+   template(argsize_name,                              "argsize")                                  \
+   template(mode_name,                                 "mode")                                     \
+   template(numFrames_name,                            "numFrames")                                \
+   template(numOops_name,                              "numOops")                                  \
+   template(stack_name,                                "stack")                                    \
+   template(maxSize_name,                              "maxSize")                                  \
+   template(reset_name,                                "reset")                                    \
+   template(done_name,                                 "done")                                     \
+   template(mounted_name,                              "mounted")                                  \
+   template(numInterpretedFrames_name,                 "numInterpretedFrames")                     \
+   template(jfrTraceId_name,                           "jfrTraceId")                               \
+   template(fp_name,                                   "fp")                                       \
+   template(sp_name,                                   "sp")                                       \
+   template(pc_name,                                   "pc")                                       \
+   template(cs_name,                                   "cs")                                       \
+   template(refStack_name,                             "refStack")                                 \
+   template(refSP_name,                                "refSP")                                    \
    template(get_name,                                  "get")                                      \
    template(refersTo0_name,                            "refersTo0")                                \
    template(put_name,                                  "put")                                      \
    template(type_name,                                 "type")                                     \
    template(findNative_name,                           "findNative")                               \

@@ -411,11 +449,11 @@
    template(getProperty_name,                          "getProperty")                              \
    template(context_name,                              "context")                                  \
    template(contextClassLoader_name,                   "contextClassLoader")                       \
    template(inheritedAccessControlContext_name,        "inheritedAccessControlContext")            \
    template(getClassContext_name,                      "getClassContext")                          \
-   template(wait_name,                                 "wait")                                     \
+   template(wait_name,                                 "wait0")                                     \
    template(checkPackageAccess_name,                   "checkPackageAccess")                       \
    template(newInstance0_name,                         "newInstance0")                             \
    template(forName_name,                              "forName")                                  \
    template(forName0_name,                             "forName0")                                 \
    template(isJavaIdentifierStart_name,                "isJavaIdentifierStart")                    \

@@ -474,20 +512,23 @@
    template(java_lang_Character_array_signature,       "[Ljava/lang/Character;")                   \
    template(java_lang_Short_array_signature,           "[Ljava/lang/Short;")                       \
    template(java_lang_Byte_array_signature,            "[Ljava/lang/Byte;")                        \
    template(java_lang_Boolean_signature,               "Ljava/lang/Boolean;")                      \
    template(url_code_signer_array_void_signature,      "(Ljava/net/URL;[Ljava/security/CodeSigner;)V") \
+   template(jvmti_thread_state_name,                   "jvmti_thread_state")                       \
    template(module_entry_name,                         "module_entry")                             \
    template(resolved_references_name,                  "<resolved_references>")                    \
    template(init_lock_name,                            "<init_lock>")                              \
    template(address_size_name,                         "ADDRESS_SIZE0")                            \
    template(page_size_name,                            "PAGE_SIZE")                                \
    template(big_endian_name,                           "BIG_ENDIAN")                               \
    template(use_unaligned_access_name,                 "UNALIGNED_ACCESS")                         \
    template(data_cache_line_flush_size_name,           "DATA_CACHE_LINE_FLUSH_SIZE")               \
    template(during_unsafe_access_name,                 "during_unsafe_access")                     \
    template(checkIndex_name,                           "checkIndex")                               \
+   template(scoped_cache_shift_name,                   "SCOPED_CACHE_SHIFT")                       \
+   template(scopeLocalSnapshot_name,                   "Ljava/lang/ScopeLocal$Snapshot;")          \
                                                                                                    \
    /* name symbols needed by intrinsics */                                                         \
    VM_INTRINSICS_DO(VM_INTRINSIC_IGNORE, VM_SYMBOL_IGNORE, template, VM_SYMBOL_IGNORE, VM_ALIAS_IGNORE) \
                                                                                                    \
    /* common signatures names */                                                                   \

@@ -527,17 +568,24 @@
    template(bool_array_signature,                      "[Z")                                       \
    template(byte_array_signature,                      "[B")                                       \
    template(char_array_signature,                      "[C")                                       \
    template(int_array_signature,                       "[I")                                       \
    template(long_array_signature,                      "[J")                                       \
+   template(runnable_signature,                        "Ljava/lang/Runnable;")                     \
+   template(continuation_signature,                    "Ljdk/internal/vm/Continuation;")           \
+   template(continuationscope_signature,               "Ljdk/internal/vm/ContinuationScope;")      \
+   template(stackchunk_signature,                      "Ljdk/internal/vm/StackChunk;")             \
+   template(vthread_signature,                         "Ljava/lang/VirtualThread;")                \
    template(object_void_signature,                     "(Ljava/lang/Object;)V")                    \
    template(object_int_signature,                      "(Ljava/lang/Object;)I")                    \
    template(long_object_long_signature,                "(JLjava/lang/Object;)J")                   \
    template(object_boolean_signature,                  "(Ljava/lang/Object;)Z")                    \
    template(object_object_signature,                   "(Ljava/lang/Object;)Ljava/lang/Object;")   \
    template(string_void_signature,                     "(Ljava/lang/String;)V")                    \
    template(string_int_signature,                      "(Ljava/lang/String;)I")                    \
+   template(string_byte_array_signature,               "(Ljava/lang/String;)[B")                   \
+   template(string_bool_byte_array_signature,          "(Ljava/lang/String;Z)[B")                  \
    template(throwable_signature,                       "Ljava/lang/Throwable;")                    \
    template(throwable_void_signature,                  "(Ljava/lang/Throwable;)V")                 \
    template(void_throwable_signature,                  "()Ljava/lang/Throwable;")                  \
    template(class_void_signature,                      "(Ljava/lang/Class;)V")                     \
    template(class_int_signature,                       "(Ljava/lang/Class;)I")                     \

@@ -559,10 +607,11 @@
    template(classloader_string_long_signature,         "(Ljava/lang/ClassLoader;Ljava/lang/String;)J")             \
    template(byte_array_void_signature,                 "([B)V")                                                    \
    template(char_array_void_signature,                 "([C)V")                                                    \
    template(int_int_void_signature,                    "(II)V")                                                    \
    template(long_long_void_signature,                  "(JJ)V")                                                    \
+   template(void_byte_array_signature,                 "()[B")                                                     \
    template(void_classloader_signature,                "()Ljava/lang/ClassLoader;")                                \
    template(void_object_signature,                     "()Ljava/lang/Object;")                                     \
    template(void_class_signature,                      "()Ljava/lang/Class;")                                      \
    template(void_class_array_signature,                "()[Ljava/lang/Class;")                                     \
    template(void_string_signature,                     "()Ljava/lang/String;")                                     \

@@ -572,10 +621,11 @@
    template(exception_void_signature,                  "(Ljava/lang/Exception;)V")                                 \
    template(protectiondomain_signature,                "[Ljava/security/ProtectionDomain;")                        \
    template(accesscontrolcontext_signature,            "Ljava/security/AccessControlContext;")                     \
    template(class_protectiondomain_signature,          "(Ljava/lang/Class;Ljava/security/ProtectionDomain;)V")     \
    template(thread_signature,                          "Ljava/lang/Thread;")                                       \
+   template(thread_fieldholder_signature,              "Ljava/lang/Thread$FieldHolder;")                           \
    template(thread_array_signature,                    "[Ljava/lang/Thread;")                                      \
    template(threadgroup_signature,                     "Ljava/lang/ThreadGroup;")                                  \
    template(threadgroup_array_signature,               "[Ljava/lang/ThreadGroup;")                                 \
    template(class_array_signature,                     "[Ljava/lang/Class;")                                       \
    template(classloader_signature,                     "Ljava/lang/ClassLoader;")                                  \

@@ -584,10 +634,11 @@
    template(class_signature,                           "Ljava/lang/Class;")                                        \
    template(string_signature,                          "Ljava/lang/String;")                                       \
    template(string_array_signature,                    "[Ljava/lang/String;")                                      \
    template(reference_signature,                       "Ljava/lang/ref/Reference;")                                \
    template(referencequeue_signature,                  "Ljava/lang/ref/ReferenceQueue;")                           \
+   template(weakreference_array_signature,             "[Ljava/lang/ref/WeakReference;")                           \
    template(executable_signature,                      "Ljava/lang/reflect/Executable;")                           \
    template(module_signature,                          "Ljava/lang/Module;")                                       \
    template(concurrenthashmap_signature,               "Ljava/util/concurrent/ConcurrentHashMap;")                 \
    template(String_StringBuilder_signature,            "(Ljava/lang/String;)Ljava/lang/StringBuilder;")            \
    template(int_StringBuilder_signature,               "(I)Ljava/lang/StringBuilder;")                             \

@@ -681,11 +732,10 @@
    template(transformedByAgent_name,                    "transformedByAgent")                                      \
    template(transformedByAgent_signature,               "(Ljava/lang/Module;)V")                                   \
    template(appendToClassPathForInstrumentation_name,   "appendToClassPathForInstrumentation")                     \
    do_alias(appendToClassPathForInstrumentation_signature, string_void_signature)                                  \
    template(serializePropertiesToByteArray_name,        "serializePropertiesToByteArray")                          \
-   template(serializePropertiesToByteArray_signature,   "()[B")                                                    \
    template(serializeAgentPropertiesToByteArray_name,   "serializeAgentPropertiesToByteArray")                     \
    template(classRedefinedCount_name,                   "classRedefinedCount")                                     \
    template(classLoader_name,                           "classLoader")                                             \
    template(componentType_name,                         "componentType")                                           \
                                                                                                                    \

@@ -711,10 +761,15 @@
    template(toFileURL_name,                                  "toFileURL")                                          \
    template(toFileURL_signature,                             "(Ljava/lang/String;)Ljava/net/URL;")                 \
    template(url_void_signature,                              "(Ljava/net/URL;)V")                                  \
    template(url_array_classloader_void_signature,            "([Ljava/net/URL;Ljava/lang/ClassLoader;)V")          \
                                                                                                                    \
+   /* JavaThread.dump jcmd */                                                                                      \
+   template(jdk_internal_vm_ThreadDumper,           "jdk/internal/vm/ThreadDumper")                                \
+   template(dumpThreads_name,                       "dumpThreads")                                                 \
+   template(dumpThreadsToJson_name,                 "dumpThreadsToJson")                                           \
+ 
    /*end*/
  
  // enum for figuring positions and size of Symbol::_vm_symbols[]
  enum class vmSymbolID : int {
    // [FIRST_SID ... LAST_SID] is the iteration range for the *valid* symbols.
< prev index next >