< prev index next >

src/hotspot/share/classfile/vmSymbols.hpp

Print this page




  50 // Mapping function names to values. New entries should be added below.
  51 
  52 #define VM_SYMBOLS_DO(template, do_alias)                                                         \
  53   /* commonly used class, package, module names */                                                \
  54   template(java_base,                                 JAVA_BASE_NAME)                             \
  55   template(java_lang_System,                          "java/lang/System")                         \
  56   template(java_lang_Object,                          "java/lang/Object")                         \
  57   template(java_lang_Class,                           "java/lang/Class")                          \
  58   template(java_lang_Package,                         "java/lang/Package")                        \
  59   template(java_lang_Module,                          "java/lang/Module")                         \
  60   template(java_lang_String,                          "java/lang/String")                         \
  61   template(java_lang_StringLatin1,                    "java/lang/StringLatin1")                   \
  62   template(java_lang_StringUTF16,                     "java/lang/StringUTF16")                    \
  63   template(java_lang_Thread,                          "java/lang/Thread")                         \
  64   template(java_lang_ThreadGroup,                     "java/lang/ThreadGroup")                    \
  65   template(java_lang_Cloneable,                       "java/lang/Cloneable")                      \
  66   template(java_lang_Throwable,                       "java/lang/Throwable")                      \
  67   template(java_lang_ClassLoader,                     "java/lang/ClassLoader")                    \
  68   template(java_lang_ClassLoader_NativeLibrary,       "java/lang/ClassLoader\x024NativeLibrary")  \
  69   template(java_lang_ThreadDeath,                     "java/lang/ThreadDeath")                    \



  70   template(java_lang_Boolean,                         "java/lang/Boolean")                        \
  71   template(java_lang_Character,                       "java/lang/Character")                      \
  72   template(java_lang_Character_CharacterCache,        "java/lang/Character$CharacterCache")       \
  73   template(java_lang_Float,                           "java/lang/Float")                          \
  74   template(java_lang_Double,                          "java/lang/Double")                         \
  75   template(java_lang_Byte,                            "java/lang/Byte")                           \
  76   template(java_lang_Byte_ByteCache,                  "java/lang/Byte$ByteCache")                 \
  77   template(java_lang_Short,                           "java/lang/Short")                          \
  78   template(java_lang_Short_ShortCache,                "java/lang/Short$ShortCache")               \
  79   template(java_lang_Integer,                         "java/lang/Integer")                        \
  80   template(java_lang_Integer_IntegerCache,            "java/lang/Integer$IntegerCache")           \
  81   template(java_lang_Long,                            "java/lang/Long")                           \
  82   template(java_lang_Long_LongCache,                  "java/lang/Long$LongCache")                 \
  83   template(java_lang_Shutdown,                        "java/lang/Shutdown")                       \
  84   template(java_lang_ref_Reference,                   "java/lang/ref/Reference")                  \
  85   template(java_lang_ref_SoftReference,               "java/lang/ref/SoftReference")              \
  86   template(java_lang_ref_WeakReference,               "java/lang/ref/WeakReference")              \
  87   template(java_lang_ref_FinalReference,              "java/lang/ref/FinalReference")             \
  88   template(java_lang_ref_PhantomReference,            "java/lang/ref/PhantomReference")           \
  89   template(java_lang_ref_Finalizer,                   "java/lang/ref/Finalizer")                  \


 347   template(exit_method_name,                          "exit")                                     \
 348   template(add_method_name,                           "add")                                      \
 349   template(remove_method_name,                        "remove")                                   \
 350   template(parent_name,                               "parent")                                   \
 351   template(threads_name,                              "threads")                                  \
 352   template(groups_name,                               "groups")                                   \
 353   template(maxPriority_name,                          "maxPriority")                              \
 354   template(destroyed_name,                            "destroyed")                                \
 355   template(nthreads_name,                             "nthreads")                                 \
 356   template(ngroups_name,                              "ngroups")                                  \
 357   template(shutdown_method_name,                      "shutdown")                                 \
 358   template(bootstrapFinished_method_name,             "bootstrapFinished")                        \
 359   template(finalize_method_name,                      "finalize")                                 \
 360   template(reference_lock_name,                       "lock")                                     \
 361   template(reference_discovered_name,                 "discovered")                               \
 362   template(run_finalization_name,                     "runFinalization")                          \
 363   template(run_finalizers_on_exit_name,               "runFinalizersOnExit")                      \
 364   template(dispatchUncaughtException_name,            "dispatchUncaughtException")                \
 365   template(loadClass_name,                            "loadClass")                                \
 366   template(loadClassInternal_name,                    "loadClassInternal")                        \

 367   template(get_name,                                  "get")                                      \
 368   template(put_name,                                  "put")                                      \
 369   template(type_name,                                 "type")                                     \
 370   template(findNative_name,                           "findNative")                               \
 371   template(deadChild_name,                            "deadChild")                                \
 372   template(getFromClass_name,                         "getFromClass")                             \
 373   template(dispatch_name,                             "dispatch")                                 \
 374   template(getSystemClassLoader_name,                 "getSystemClassLoader")                     \
 375   template(fillInStackTrace_name,                     "fillInStackTrace")                         \
 376   template(getCause_name,                             "getCause")                                 \
 377   template(initCause_name,                            "initCause")                                \
 378   template(depth_name,                                "depth")                                    \
 379   template(setProperty_name,                          "setProperty")                              \
 380   template(getProperty_name,                          "getProperty")                              \
 381   template(context_name,                              "context")                                  \
 382   template(privilegedContext_name,                    "privilegedContext")                        \
 383   template(contextClassLoader_name,                   "contextClassLoader")                       \
 384   template(inheritedAccessControlContext_name,        "inheritedAccessControlContext")            \
 385   template(isPrivileged_name,                         "isPrivileged")                             \
 386   template(isAuthorized_name,                         "isAuthorized")                             \


1352    do_signature(getAndAddByte_signature,                                "(Ljava/lang/Object;JB)B" )                           \
1353   do_intrinsic(_getAndAddShort,           jdk_internal_misc_Unsafe,     getAndAddShort_name, getAndAddShort_signature, F_R)   \
1354    do_name(     getAndAddShort_name,                                    "getAndAddShort")                                     \
1355    do_signature(getAndAddShort_signature,                               "(Ljava/lang/Object;JS)S" )                           \
1356   do_intrinsic(_getAndSetInt,             jdk_internal_misc_Unsafe,     getAndSetInt_name, getAndSetInt_signature, F_R)       \
1357    do_name(     getAndSetInt_name,                                      "getAndSetInt")                                       \
1358    do_alias(    getAndSetInt_signature,                                 /*"(Ljava/lang/Object;JI)I"*/ getAndAddInt_signature)   \
1359   do_intrinsic(_getAndSetLong,            jdk_internal_misc_Unsafe,     getAndSetLong_name, getAndSetLong_signature, F_R)     \
1360    do_name(     getAndSetLong_name,                                     "getAndSetLong")                                      \
1361    do_alias(    getAndSetLong_signature,                                /*"(Ljava/lang/Object;JJ)J"*/ getAndAddLong_signature)  \
1362   do_intrinsic(_getAndSetByte,            jdk_internal_misc_Unsafe,     getAndSetByte_name, getAndSetByte_signature, F_R)     \
1363    do_name(     getAndSetByte_name,                                     "getAndSetByte")                                      \
1364    do_alias(    getAndSetByte_signature,                                /*"(Ljava/lang/Object;JB)B"*/ getAndAddByte_signature)  \
1365   do_intrinsic(_getAndSetShort,           jdk_internal_misc_Unsafe,     getAndSetShort_name, getAndSetShort_signature, F_R)   \
1366    do_name(     getAndSetShort_name,                                    "getAndSetShort")                                     \
1367    do_alias(    getAndSetShort_signature,                               /*"(Ljava/lang/Object;JS)S"*/ getAndAddShort_signature) \
1368   do_intrinsic(_getAndSetObject,          jdk_internal_misc_Unsafe,     getAndSetObject_name, getAndSetObject_signature,  F_R)\
1369    do_name(     getAndSetObject_name,                                   "getAndSetObject")                                    \
1370    do_signature(getAndSetObject_signature,                              "(Ljava/lang/Object;JLjava/lang/Object;)Ljava/lang/Object;" ) \
1371                                                                                                                                \







1372    /* (2) Bytecode intrinsics                                                                        */                        \
1373                                                                                                                                \
1374   do_intrinsic(_park,                     jdk_internal_misc_Unsafe,     park_name, park_signature,                     F_R)    \
1375    do_name(     park_name,                                              "park")                                                \
1376    do_signature(park_signature,                                         "(ZJ)V")                                               \
1377   do_intrinsic(_unpark,                   jdk_internal_misc_Unsafe,     unpark_name, unpark_signature,                 F_R)    \
1378    do_name(     unpark_name,                                            "unpark")                                              \
1379    do_alias(    unpark_signature,                                       /*(LObject;)V*/ object_void_signature)                 \
1380                                                                                                                                \
1381   do_intrinsic(_StringBuilder_void,   java_lang_StringBuilder, object_initializer_name, void_method_signature,     F_R)   \
1382   do_intrinsic(_StringBuilder_int,    java_lang_StringBuilder, object_initializer_name, int_void_signature,        F_R)   \
1383   do_intrinsic(_StringBuilder_String, java_lang_StringBuilder, object_initializer_name, string_void_signature,     F_R)   \
1384                                                                                                                           \
1385   do_intrinsic(_StringBuilder_append_char,   java_lang_StringBuilder, append_name, char_StringBuilder_signature,   F_R)   \
1386   do_intrinsic(_StringBuilder_append_int,    java_lang_StringBuilder, append_name, int_StringBuilder_signature,    F_R)   \
1387   do_intrinsic(_StringBuilder_append_String, java_lang_StringBuilder, append_name, String_StringBuilder_signature, F_R)   \
1388                                                                                                                           \
1389   do_intrinsic(_StringBuilder_toString, java_lang_StringBuilder, toString_name, void_string_signature,             F_R)   \
1390                                                                                                                           \
1391   do_intrinsic(_StringBuffer_void,   java_lang_StringBuffer, object_initializer_name, void_method_signature,       F_R)   \


1441    do_name(     Boolean_valueOf_signature,                       "(Z)Ljava/lang/Boolean;")                              \
1442   do_intrinsic(_Byte_valueOf,             java_lang_Byte,         valueOf_name, Byte_valueOf_signature, F_S)            \
1443    do_name(     Byte_valueOf_signature,                          "(B)Ljava/lang/Byte;")                                 \
1444   do_intrinsic(_Character_valueOf,        java_lang_Character,    valueOf_name, Character_valueOf_signature, F_S)       \
1445    do_name(     Character_valueOf_signature,                     "(C)Ljava/lang/Character;")                            \
1446   do_intrinsic(_Short_valueOf,            java_lang_Short,        valueOf_name, Short_valueOf_signature, F_S)           \
1447    do_name(     Short_valueOf_signature,                         "(S)Ljava/lang/Short;")                                \
1448   do_intrinsic(_Integer_valueOf,          java_lang_Integer,      valueOf_name, Integer_valueOf_signature, F_S)         \
1449    do_name(     Integer_valueOf_signature,                       "(I)Ljava/lang/Integer;")                              \
1450   do_intrinsic(_Long_valueOf,             java_lang_Long,         valueOf_name, Long_valueOf_signature, F_S)            \
1451    do_name(     Long_valueOf_signature,                          "(J)Ljava/lang/Long;")                                 \
1452   do_intrinsic(_Float_valueOf,            java_lang_Float,        valueOf_name, Float_valueOf_signature, F_S)           \
1453    do_name(     Float_valueOf_signature,                         "(F)Ljava/lang/Float;")                                \
1454   do_intrinsic(_Double_valueOf,           java_lang_Double,       valueOf_name, Double_valueOf_signature, F_S)          \
1455    do_name(     Double_valueOf_signature,                        "(D)Ljava/lang/Double;")                               \
1456                                                                                                                         \
1457   /* forEachRemaining */                                                                             \
1458   do_intrinsic(_forEachRemaining, java_util_stream_StreamsRangeIntSpliterator, forEachRemaining_name, forEachRemaining_signature, F_R) \
1459    do_name(     forEachRemaining_name,    "forEachRemaining")                                                           \
1460    do_name(     forEachRemaining_signature,                      "(Ljava/util/function/IntConsumer;)V")                 \
1461 
1462     /*end*/
1463 
1464 
1465 
1466 
1467 // Class vmSymbols
1468 
1469 class vmSymbols: AllStatic {
1470   friend class vmIntrinsics;
1471   friend class VMStructs;
1472   friend class JVMCIVMStructs;
1473  public:
1474   // enum for figuring positions and size of array holding Symbol*s
1475   enum SID {
1476     NO_SID = 0,
1477 
1478     #define VM_SYMBOL_ENUM(name, string) VM_SYMBOL_ENUM_NAME(name),
1479     VM_SYMBOLS_DO(VM_SYMBOL_ENUM, VM_ALIAS_IGNORE)
1480     #undef VM_SYMBOL_ENUM
1481 




  50 // Mapping function names to values. New entries should be added below.
  51 
  52 #define VM_SYMBOLS_DO(template, do_alias)                                                         \
  53   /* commonly used class, package, module names */                                                \
  54   template(java_base,                                 JAVA_BASE_NAME)                             \
  55   template(java_lang_System,                          "java/lang/System")                         \
  56   template(java_lang_Object,                          "java/lang/Object")                         \
  57   template(java_lang_Class,                           "java/lang/Class")                          \
  58   template(java_lang_Package,                         "java/lang/Package")                        \
  59   template(java_lang_Module,                          "java/lang/Module")                         \
  60   template(java_lang_String,                          "java/lang/String")                         \
  61   template(java_lang_StringLatin1,                    "java/lang/StringLatin1")                   \
  62   template(java_lang_StringUTF16,                     "java/lang/StringUTF16")                    \
  63   template(java_lang_Thread,                          "java/lang/Thread")                         \
  64   template(java_lang_ThreadGroup,                     "java/lang/ThreadGroup")                    \
  65   template(java_lang_Cloneable,                       "java/lang/Cloneable")                      \
  66   template(java_lang_Throwable,                       "java/lang/Throwable")                      \
  67   template(java_lang_ClassLoader,                     "java/lang/ClassLoader")                    \
  68   template(java_lang_ClassLoader_NativeLibrary,       "java/lang/ClassLoader\x024NativeLibrary")  \
  69   template(java_lang_ThreadDeath,                     "java/lang/ThreadDeath")                    \
  70   template(java_lang_Runnable,                        "java/lang/Runnable")                       \
  71   /*template(java_lang_Continuation,                    "java/lang/Continuation")                 */\
  72   template(java_lang_ContinuationContext,             "java/lang/ContinuationContext")            \
  73   template(java_lang_Boolean,                         "java/lang/Boolean")                        \
  74   template(java_lang_Character,                       "java/lang/Character")                      \
  75   template(java_lang_Character_CharacterCache,        "java/lang/Character$CharacterCache")       \
  76   template(java_lang_Float,                           "java/lang/Float")                          \
  77   template(java_lang_Double,                          "java/lang/Double")                         \
  78   template(java_lang_Byte,                            "java/lang/Byte")                           \
  79   template(java_lang_Byte_ByteCache,                  "java/lang/Byte$ByteCache")                 \
  80   template(java_lang_Short,                           "java/lang/Short")                          \
  81   template(java_lang_Short_ShortCache,                "java/lang/Short$ShortCache")               \
  82   template(java_lang_Integer,                         "java/lang/Integer")                        \
  83   template(java_lang_Integer_IntegerCache,            "java/lang/Integer$IntegerCache")           \
  84   template(java_lang_Long,                            "java/lang/Long")                           \
  85   template(java_lang_Long_LongCache,                  "java/lang/Long$LongCache")                 \
  86   template(java_lang_Shutdown,                        "java/lang/Shutdown")                       \
  87   template(java_lang_ref_Reference,                   "java/lang/ref/Reference")                  \
  88   template(java_lang_ref_SoftReference,               "java/lang/ref/SoftReference")              \
  89   template(java_lang_ref_WeakReference,               "java/lang/ref/WeakReference")              \
  90   template(java_lang_ref_FinalReference,              "java/lang/ref/FinalReference")             \
  91   template(java_lang_ref_PhantomReference,            "java/lang/ref/PhantomReference")           \
  92   template(java_lang_ref_Finalizer,                   "java/lang/ref/Finalizer")                  \


 350   template(exit_method_name,                          "exit")                                     \
 351   template(add_method_name,                           "add")                                      \
 352   template(remove_method_name,                        "remove")                                   \
 353   template(parent_name,                               "parent")                                   \
 354   template(threads_name,                              "threads")                                  \
 355   template(groups_name,                               "groups")                                   \
 356   template(maxPriority_name,                          "maxPriority")                              \
 357   template(destroyed_name,                            "destroyed")                                \
 358   template(nthreads_name,                             "nthreads")                                 \
 359   template(ngroups_name,                              "ngroups")                                  \
 360   template(shutdown_method_name,                      "shutdown")                                 \
 361   template(bootstrapFinished_method_name,             "bootstrapFinished")                        \
 362   template(finalize_method_name,                      "finalize")                                 \
 363   template(reference_lock_name,                       "lock")                                     \
 364   template(reference_discovered_name,                 "discovered")                               \
 365   template(run_finalization_name,                     "runFinalization")                          \
 366   template(run_finalizers_on_exit_name,               "runFinalizersOnExit")                      \
 367   template(dispatchUncaughtException_name,            "dispatchUncaughtException")                \
 368   template(loadClass_name,                            "loadClass")                                \
 369   template(loadClassInternal_name,                    "loadClassInternal")                        \
 370   template(enter_name,                                "enter")                                    \
 371   template(get_name,                                  "get")                                      \
 372   template(put_name,                                  "put")                                      \
 373   template(type_name,                                 "type")                                     \
 374   template(findNative_name,                           "findNative")                               \
 375   template(deadChild_name,                            "deadChild")                                \
 376   template(getFromClass_name,                         "getFromClass")                             \
 377   template(dispatch_name,                             "dispatch")                                 \
 378   template(getSystemClassLoader_name,                 "getSystemClassLoader")                     \
 379   template(fillInStackTrace_name,                     "fillInStackTrace")                         \
 380   template(getCause_name,                             "getCause")                                 \
 381   template(initCause_name,                            "initCause")                                \
 382   template(depth_name,                                "depth")                                    \
 383   template(setProperty_name,                          "setProperty")                              \
 384   template(getProperty_name,                          "getProperty")                              \
 385   template(context_name,                              "context")                                  \
 386   template(privilegedContext_name,                    "privilegedContext")                        \
 387   template(contextClassLoader_name,                   "contextClassLoader")                       \
 388   template(inheritedAccessControlContext_name,        "inheritedAccessControlContext")            \
 389   template(isPrivileged_name,                         "isPrivileged")                             \
 390   template(isAuthorized_name,                         "isAuthorized")                             \


1356    do_signature(getAndAddByte_signature,                                "(Ljava/lang/Object;JB)B" )                           \
1357   do_intrinsic(_getAndAddShort,           jdk_internal_misc_Unsafe,     getAndAddShort_name, getAndAddShort_signature, F_R)   \
1358    do_name(     getAndAddShort_name,                                    "getAndAddShort")                                     \
1359    do_signature(getAndAddShort_signature,                               "(Ljava/lang/Object;JS)S" )                           \
1360   do_intrinsic(_getAndSetInt,             jdk_internal_misc_Unsafe,     getAndSetInt_name, getAndSetInt_signature, F_R)       \
1361    do_name(     getAndSetInt_name,                                      "getAndSetInt")                                       \
1362    do_alias(    getAndSetInt_signature,                                 /*"(Ljava/lang/Object;JI)I"*/ getAndAddInt_signature)   \
1363   do_intrinsic(_getAndSetLong,            jdk_internal_misc_Unsafe,     getAndSetLong_name, getAndSetLong_signature, F_R)     \
1364    do_name(     getAndSetLong_name,                                     "getAndSetLong")                                      \
1365    do_alias(    getAndSetLong_signature,                                /*"(Ljava/lang/Object;JJ)J"*/ getAndAddLong_signature)  \
1366   do_intrinsic(_getAndSetByte,            jdk_internal_misc_Unsafe,     getAndSetByte_name, getAndSetByte_signature, F_R)     \
1367    do_name(     getAndSetByte_name,                                     "getAndSetByte")                                      \
1368    do_alias(    getAndSetByte_signature,                                /*"(Ljava/lang/Object;JB)B"*/ getAndAddByte_signature)  \
1369   do_intrinsic(_getAndSetShort,           jdk_internal_misc_Unsafe,     getAndSetShort_name, getAndSetShort_signature, F_R)   \
1370    do_name(     getAndSetShort_name,                                    "getAndSetShort")                                     \
1371    do_alias(    getAndSetShort_signature,                               /*"(Ljava/lang/Object;JS)S"*/ getAndAddShort_signature) \
1372   do_intrinsic(_getAndSetObject,          jdk_internal_misc_Unsafe,     getAndSetObject_name, getAndSetObject_signature,  F_R)\
1373    do_name(     getAndSetObject_name,                                   "getAndSetObject")                                    \
1374    do_signature(getAndSetObject_signature,                              "(Ljava/lang/Object;JLjava/lang/Object;)Ljava/lang/Object;" ) \
1375                                                                                                                                \
1376   /* java/lang/Continuation */                                                                                                 \
1377   do_class(java_lang_Continuation,                      "java/lang/Continuation")                                          \
1378   do_intrinsic(_Continuation_run,         java_lang_Continuation,  run_method_name,    continuationRun_signature, F_R)             \
1379     do_alias(continuationRun_signature,                             void_method_signature)                                        \
1380     do_alias(continuationEnter_signature,                           void_method_signature)                                        \
1381   /*do_name(run_name, "tun") */                                                                                              \
1382                                                                                                                                \
1383    /* (2) Bytecode intrinsics                                                                        */                        \
1384                                                                                                                                \
1385   do_intrinsic(_park,                     jdk_internal_misc_Unsafe,     park_name, park_signature,                     F_R)    \
1386    do_name(     park_name,                                              "park")                                                \
1387    do_signature(park_signature,                                         "(ZJ)V")                                               \
1388   do_intrinsic(_unpark,                   jdk_internal_misc_Unsafe,     unpark_name, unpark_signature,                 F_R)    \
1389    do_name(     unpark_name,                                            "unpark")                                              \
1390    do_alias(    unpark_signature,                                       /*(LObject;)V*/ object_void_signature)                 \
1391                                                                                                                                \
1392   do_intrinsic(_StringBuilder_void,   java_lang_StringBuilder, object_initializer_name, void_method_signature,     F_R)   \
1393   do_intrinsic(_StringBuilder_int,    java_lang_StringBuilder, object_initializer_name, int_void_signature,        F_R)   \
1394   do_intrinsic(_StringBuilder_String, java_lang_StringBuilder, object_initializer_name, string_void_signature,     F_R)   \
1395                                                                                                                           \
1396   do_intrinsic(_StringBuilder_append_char,   java_lang_StringBuilder, append_name, char_StringBuilder_signature,   F_R)   \
1397   do_intrinsic(_StringBuilder_append_int,    java_lang_StringBuilder, append_name, int_StringBuilder_signature,    F_R)   \
1398   do_intrinsic(_StringBuilder_append_String, java_lang_StringBuilder, append_name, String_StringBuilder_signature, F_R)   \
1399                                                                                                                           \
1400   do_intrinsic(_StringBuilder_toString, java_lang_StringBuilder, toString_name, void_string_signature,             F_R)   \
1401                                                                                                                           \
1402   do_intrinsic(_StringBuffer_void,   java_lang_StringBuffer, object_initializer_name, void_method_signature,       F_R)   \


1452    do_name(     Boolean_valueOf_signature,                       "(Z)Ljava/lang/Boolean;")                              \
1453   do_intrinsic(_Byte_valueOf,             java_lang_Byte,         valueOf_name, Byte_valueOf_signature, F_S)            \
1454    do_name(     Byte_valueOf_signature,                          "(B)Ljava/lang/Byte;")                                 \
1455   do_intrinsic(_Character_valueOf,        java_lang_Character,    valueOf_name, Character_valueOf_signature, F_S)       \
1456    do_name(     Character_valueOf_signature,                     "(C)Ljava/lang/Character;")                            \
1457   do_intrinsic(_Short_valueOf,            java_lang_Short,        valueOf_name, Short_valueOf_signature, F_S)           \
1458    do_name(     Short_valueOf_signature,                         "(S)Ljava/lang/Short;")                                \
1459   do_intrinsic(_Integer_valueOf,          java_lang_Integer,      valueOf_name, Integer_valueOf_signature, F_S)         \
1460    do_name(     Integer_valueOf_signature,                       "(I)Ljava/lang/Integer;")                              \
1461   do_intrinsic(_Long_valueOf,             java_lang_Long,         valueOf_name, Long_valueOf_signature, F_S)            \
1462    do_name(     Long_valueOf_signature,                          "(J)Ljava/lang/Long;")                                 \
1463   do_intrinsic(_Float_valueOf,            java_lang_Float,        valueOf_name, Float_valueOf_signature, F_S)           \
1464    do_name(     Float_valueOf_signature,                         "(F)Ljava/lang/Float;")                                \
1465   do_intrinsic(_Double_valueOf,           java_lang_Double,       valueOf_name, Double_valueOf_signature, F_S)          \
1466    do_name(     Double_valueOf_signature,                        "(D)Ljava/lang/Double;")                               \
1467                                                                                                                         \
1468   /* forEachRemaining */                                                                             \
1469   do_intrinsic(_forEachRemaining, java_util_stream_StreamsRangeIntSpliterator, forEachRemaining_name, forEachRemaining_signature, F_R) \
1470    do_name(     forEachRemaining_name,    "forEachRemaining")                                                           \
1471    do_name(     forEachRemaining_signature,                      "(Ljava/util/function/IntConsumer;)V")                 \
1472                                                                                                                         \
1473     /*end*/
1474 
1475 
1476 
1477 
1478 // Class vmSymbols
1479 
1480 class vmSymbols: AllStatic {
1481   friend class vmIntrinsics;
1482   friend class VMStructs;
1483   friend class JVMCIVMStructs;
1484  public:
1485   // enum for figuring positions and size of array holding Symbol*s
1486   enum SID {
1487     NO_SID = 0,
1488 
1489     #define VM_SYMBOL_ENUM(name, string) VM_SYMBOL_ENUM_NAME(name),
1490     VM_SYMBOLS_DO(VM_SYMBOL_ENUM, VM_ALIAS_IGNORE)
1491     #undef VM_SYMBOL_ENUM
1492 


< prev index next >