< prev index next >

src/hotspot/share/classfile/vmSymbols.hpp

Print this page

        

@@ -60,15 +60,19 @@
   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_ThreadGroup,                     "java/lang/ThreadGroup")                    \
+  template(java_lang_Fiber,                           "java/lang/Fiber")                          \
   template(java_lang_Cloneable,                       "java/lang/Cloneable")                      \
   template(java_lang_Throwable,                       "java/lang/Throwable")                      \
   template(java_lang_ClassLoader,                     "java/lang/ClassLoader")                    \
   template(java_lang_ClassLoader_NativeLibrary,       "java/lang/ClassLoader\x024NativeLibrary")  \
   template(java_lang_ThreadDeath,                     "java/lang/ThreadDeath")                    \
+  template(java_lang_Runnable,                        "java/lang/Runnable")                       \
+  /*template(java_lang_Continuation,                    "java/lang/Continuation")                 */\
+  template(java_lang_ContinuationScope,               "java/lang/ContinuationScope")              \
   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")                          \

@@ -361,10 +365,38 @@
   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(jump_name,                                 "jump")                                     \
+  template(doContinue_name,                           "doContinue")                               \
+  template(getSP_name,                                "getSP")                                    \
+  template(getFP_name,                                "getFP")                                    \
+  template(runLevel_name,                             "runLevel")                                 \
+  template(getPC_name,                                "getPC")                                    \
+  template(enter_name,                                "enter")                                    \
+  template(onContinue_name,                           "onContinue0")                              \
+  template(getStacks_name,                            "getStacks")                                \
+  template(onPinned_name,                             "onPinned0")                                \
+  template(scope_name,                                "scope")                                    \
+  template(yieldInfo_name,                            "yieldInfo")                                \
+  template(entrySP_name,                              "entrySP")                                  \
+  template(entryFP_name,                              "entryFP")                                  \
+  template(entryPC_name,                              "entryPC")                                  \
+  template(stack_name,                                "stack")                                    \
+  template(maxSize_name,                              "maxSize")                                  \
+  template(reset_name,                                "reset")                                    \
+  template(mounted_name,                              "mounted")                                  \
+  template(numFrames_name,                            "numFrames")                                \
+  template(numInterpretedFrames_name,                 "numInterpretedFrames")                     \
+  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(put_name,                                  "put")                                      \
   template(type_name,                                 "type")                                     \
   template(findNative_name,                           "findNative")                               \
   template(deadChild_name,                            "deadChild")                                \

@@ -378,11 +410,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")                    \

@@ -491,10 +523,14 @@
   template(void_signature,                            "V")                                        \
   template(bool_array_signature,                      "[Z")                                       \
   template(byte_array_signature,                      "[B")                                       \
   template(char_array_signature,                      "[C")                                       \
   template(int_array_signature,                       "[I")                                       \
+  template(runnable_signature,                        "Ljava/lang/Runnable;")                     \
+  template(continuation_signature,                    "Ljava/lang/Continuation;")                 \
+  template(continuationscope_signature,               "Ljava/lang/ContinuationScope;")            \
+  template(fiber_signature,                           "Ljava/lang/Fiber;")                        \
   template(object_void_signature,                     "(Ljava/lang/Object;)V")                    \
   template(object_int_signature,                      "(Ljava/lang/Object;)I")                    \
   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")                    \

@@ -855,11 +891,11 @@
    do_signature(arraycopy_signature,                             "(Ljava/lang/Object;ILjava/lang/Object;II)V")          \
   do_intrinsic(_isInterrupted,            java_lang_Thread,       isInterrupted_name, isInterrupted_signature,   F_R)   \
    do_name(     isInterrupted_name,                              "isInterrupted")                                       \
    do_signature(isInterrupted_signature,                         "(Z)Z")                                                \
   do_intrinsic(_currentThread,            java_lang_Thread,       currentThread_name, currentThread_signature,   F_S)   \
-   do_name(     currentThread_name,                              "currentThread")                                       \
+   do_name(     currentThread_name,                              "currentThread0")                                      \
    do_signature(currentThread_signature,                         "()Ljava/lang/Thread;")                                \
                                                                                                                         \
   /* reflective intrinsics, for java/lang/Class, etc. */                                                                \
   do_intrinsic(_isAssignableFrom,         java_lang_Class,        isAssignableFrom_name, class_boolean_signature, F_RN) \
    do_name(     isAssignableFrom_name,                           "isAssignableFrom")                                    \

@@ -1078,10 +1114,31 @@
   do_class(java_util_zip_Adler32,        "java/util/zip/Adler32")                                                       \
   do_intrinsic(_updateBytesAdler32,       java_util_zip_Adler32,  updateBytes_C_name,  updateBytes_signature,  F_SN)    \
   do_intrinsic(_updateByteBufferAdler32,  java_util_zip_Adler32,  updateByteBuffer_A_name,  updateByteBuffer_signature,  F_SN) \
    do_name(     updateByteBuffer_A_name,                          "updateByteBuffer")                                   \
                                                                                                                         \
+  /* java/lang/Continuation */                                                                                                 \
+  do_class(java_lang_Continuation,                      "java/lang/Continuation")                                              \
+  do_intrinsic(_Continuation_enter,  java_lang_Continuation,       enter_name,    continuationEnter_signature, F_R)            \
+    do_alias(continuationEnter_signature,                           void_method_signature)                                     \
+  do_signature(continuationGetStacks_signature,                   "(III)V")                                                    \
+  do_alias(continuationOnPinned_signature,                        int_void_signature)                                          \
+  do_intrinsic(_Continuation_getSP,  java_lang_Continuation,       getSP_name,    continuationGetSP_signature, F_S)            \
+    do_alias(continuationGetSP_signature,                            void_long_signature)                                      \
+  do_intrinsic(_Continuation_getFP,  java_lang_Continuation,       getFP_name,    continuationGetFP_signature, F_S)            \
+    do_alias(continuationGetFP_signature,                            void_long_signature)                                      \
+  do_intrinsic(_Continuation_getPC,  java_lang_Continuation,       getPC_name,    continuationGetPC_signature, F_S)            \
+    do_alias(continuationGetPC_signature,                            void_long_signature)                                      \
+  do_intrinsic(_Continuation_doContinue,  java_lang_Continuation,  doContinue_name,    continuationDoContinue_signature, F_R)  \
+    do_alias(continuationDoContinue_signature,                     void_method_signature)                                      \
+  do_intrinsic(_Continuation_doYield,     java_lang_Continuation,  doYield_name,       continuationDoYield_signature, F_S)     \
+    do_alias(continuationDoYield_signature,                          int_int_signature)                                        \
+  do_intrinsic(_Continuation_jump,     java_lang_Continuation,     jump_name,       continuationJump_signature, F_S)           \
+    do_signature(continuationJump_signature,                         "(JJJ)V")                                                 \
+  do_intrinsic(_Continuation_runLevel,    java_lang_Continuation,  runLevel_name,    continuationrunLevel_signature, F_S)      \
+    do_alias(continuationrunLevel_signature,                         void_int_signature)                                       \
+                                                                                                                        \
   /* support for UnsafeConstants */                                                                                     \
   do_class(jdk_internal_misc_UnsafeConstants,      "jdk/internal/misc/UnsafeConstants")                                 \
                                                                                                                         \
   /* support for Unsafe */                                                                                              \
   do_class(jdk_internal_misc_Unsafe,               "jdk/internal/misc/Unsafe")                                          \

@@ -1504,11 +1561,11 @@
     #undef VM_ALIAS_ENUM
 
     FIRST_SID = NO_SID + 1
   };
   enum {
-    log2_SID_LIMIT = 10         // checked by an assert at start-up
+    log2_SID_LIMIT = 11         // checked by an assert at start-up
   };
 
  private:
   // The symbol array
   static Symbol* _symbols[];
< prev index next >