< prev index next > src/hotspot/share/classfile/vmSymbols.hpp
Print this page
template(java_lang_Integer_IntegerCache, "java/lang/Integer$IntegerCache") \
template(java_lang_Long, "java/lang/Long") \
template(java_lang_Long_LongCache, "java/lang/Long$LongCache") \
template(java_lang_Void, "java/lang/Void") \
\
+ /* Valhalla migrated classes. */ \
+ template(java_lang_Number, "java/lang/Number") \
+ template(java_lang_Record, "java/lang/Record") \
+ template(java_util_Optional, "java/util/Optional") \
+ template(java_util_OptionalInt, "java/util/OptionalInt") \
+ template(java_util_OptionalLong, "java/util/OptionalLong") \
+ template(java_util_OptionalDouble, "java/util/OptionalDouble") \
+ template(java_time_LocalDate, "java/time/LocalDate") \
+ template(java_time_LocalDateTime, "java/time/LocalDateTime") \
+ template(java_time_LocalTime, "java/time/LocalTime") \
+ template(java_time_Duration, "java/time/Duration") \
+ template(java_time_Instant, "java/time/Instant") \
+ template(java_time_MonthDay, "java/time/MonthDay") \
+ template(java_time_ZonedDateTime, "java/time/ZonedDateTime") \
+ template(java_time_OffsetDateTime, "java/time/OffsetDateTime") \
+ template(java_time_OffsetTime, "java/time/OffsetTime") \
+ template(java_time_YearMonth, "java/time/YearMonth") \
+ template(java_time_Year, "java/time/Year") \
+ template(java_time_Period, "java/time/Period") \
+ template(java_time_chrono_ChronoLocalDateImpl, "java/time/chrono/ChronoLocalDateImpl") \
+ template(java_time_chrono_MinguoDate, "java/time/chrono/MinguoDate") \
+ template(java_time_chrono_HijrahDate, "java/time/chrono/HijrahDate") \
+ template(java_time_chrono_JapaneseDate, "java/time/chrono/JapaneseDate") \
+ template(java_time_chrono_ThaiBuddhistDate, "java/time/chrono/ThaiBuddhistDate") \
+ \
template(jdk_internal_vm_vector_VectorSupport, "jdk/internal/vm/vector/VectorSupport") \
template(jdk_internal_vm_vector_Float16Math, "jdk/internal/vm/vector/Float16Math") \
template(jdk_internal_vm_vector_VectorPayload, "jdk/internal/vm/vector/VectorSupport$VectorPayload") \
template(jdk_internal_vm_vector_Vector, "jdk/internal/vm/vector/VectorSupport$Vector") \
template(jdk_internal_vm_vector_VectorMask, "jdk/internal/vm/vector/VectorSupport$VectorMask") \
template(jdk_internal_misc_Signal, "jdk/internal/misc/Signal") \
template(jdk_internal_util_Preconditions, "jdk/internal/util/Preconditions") \
template(java_lang_AssertionStatusDirectives, "java/lang/AssertionStatusDirectives") \
template(jdk_internal_vm_PostVMInitHook, "jdk/internal/vm/PostVMInitHook") \
template(java_util_Iterator, "java/util/Iterator") \
- template(java_lang_Record, "java/lang/Record") \
template(sun_instrument_InstrumentationImpl, "sun/instrument/InstrumentationImpl") \
template(sun_invoke_util_ValueConversions, "sun/invoke/util/ValueConversions") \
\
template(jdk_internal_loader_NativeLibraries, "jdk/internal/loader/NativeLibraries") \
template(jdk_internal_loader_BuiltinClassLoader, "jdk/internal/loader/BuiltinClassLoader") \
/* class file format tags */ \
template(tag_source_file, "SourceFile") \
template(tag_inner_classes, "InnerClasses") \
template(tag_nest_members, "NestMembers") \
template(tag_nest_host, "NestHost") \
+ template(tag_loadable_descriptors, "LoadableDescriptors") \
template(tag_constant_value, "ConstantValue") \
template(tag_code, "Code") \
template(tag_exceptions, "Exceptions") \
template(tag_line_number_table, "LineNumberTable") \
template(tag_local_variable_table, "LocalVariableTable") \
template(java_lang_IllegalAccessException, "java/lang/IllegalAccessException") \
template(java_lang_IllegalArgumentException, "java/lang/IllegalArgumentException") \
template(java_lang_IllegalCallerException, "java/lang/IllegalCallerException") \
template(java_lang_IllegalStateException, "java/lang/IllegalStateException") \
template(java_lang_IllegalMonitorStateException, "java/lang/IllegalMonitorStateException") \
+ template(java_lang_IdentityException, "java/lang/IdentityException") \
template(java_lang_IllegalThreadStateException, "java/lang/IllegalThreadStateException") \
template(java_lang_IndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException") \
template(java_lang_InstantiationException, "java/lang/InstantiationException") \
template(java_lang_InstantiationError, "java/lang/InstantiationError") \
template(java_lang_InterruptedException, "java/lang/InterruptedException") \
template(java_util_concurrent_atomic_AtomicLongFieldUpdater_CASUpdater, "java/util/concurrent/atomic/AtomicLongFieldUpdater$CASUpdater") \
template(java_util_concurrent_atomic_AtomicLongFieldUpdater_LockedUpdater, "java/util/concurrent/atomic/AtomicLongFieldUpdater$LockedUpdater") \
template(java_util_concurrent_atomic_AtomicReferenceFieldUpdater_Impl, "java/util/concurrent/atomic/AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl") \
template(jdk_internal_vm_annotation_Contended_signature, "Ljdk/internal/vm/annotation/Contended;") \
template(jdk_internal_vm_annotation_ReservedStackAccess_signature, "Ljdk/internal/vm/annotation/ReservedStackAccess;") \
+ template(jdk_internal_vm_annotation_LooselyConsistentValue_signature, "Ljdk/internal/vm/annotation/LooselyConsistentValue;") \
+ template(jdk_internal_vm_annotation_NullRestricted_signature, "Ljdk/internal/vm/annotation/NullRestricted;") \
template(jdk_internal_ValueBased_signature, "Ljdk/internal/ValueBased;") \
\
/* class symbols needed by intrinsics */ \
VM_INTRINSICS_DO(VM_INTRINSIC_IGNORE, template, VM_SYMBOL_IGNORE, VM_SYMBOL_IGNORE, VM_ALIAS_IGNORE) \
\
template(invoke_name, "invoke") \
template(parameterTypes_name, "parameterTypes") \
template(returnType_name, "returnType") \
template(signature_name, "signature") \
template(slot_name, "slot") \
- template(trusted_final_name, "trustedFinal") \
template(blackhole_name, "<blackhole>") /*fake name*/ \
\
/* Support for annotations (JDK 1.5 and above) */ \
\
template(annotations_name, "annotations") \
template(jvmti_VTMS_transition_disable_count_name, "jvmti_VTMS_transition_disable_count") \
template(jvmti_is_in_VTMS_transition_name, "jvmti_is_in_VTMS_transition") \
template(module_entry_name, "module_entry") \
template(resolved_references_name, "<resolved_references>") \
template(init_lock_name, "<init_lock>") \
+ template(null_reset_value_name, ".null_reset") \
+ template(empty_marker_name, ".empty") \
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(void_throwable_signature, "()Ljava/lang/Throwable;") \
template(class_void_signature, "(Ljava/lang/Class;)V") \
template(class_int_signature, "(Ljava/lang/Class;)I") \
template(class_long_signature, "(Ljava/lang/Class;)J") \
template(class_boolean_signature, "(Ljava/lang/Class;)Z") \
+ template(class_class_signature, "(Ljava/lang/Class;)Ljava/lang/Class;") \
template(throwable_throwable_signature, "(Ljava/lang/Throwable;)Ljava/lang/Throwable;") \
template(thread_void_signature, "(Ljava/lang/Thread;)V") \
template(runnable_void_signature, "(Ljava/lang/Runnable;)V") \
template(threadgroup_runnable_void_signature, "(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;)V") \
template(threadgroup_string_void_signature, "(Ljava/lang/ThreadGroup;Ljava/lang/String;)V") \
template(void_threadgroup_array_signature, "()[Ljava/lang/ThreadGroup;") \
template(string_class_signature, "(Ljava/lang/String;)Ljava/lang/Class;") \
template(string_boolean_class_signature, "(Ljava/lang/String;Z)Ljava/lang/Class;") \
template(object_object_object_signature, "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;") \
+ template(object_object_boolean_signature, "(Ljava/lang/Object;Ljava/lang/Object;)Z") \
template(string_string_signature, "(Ljava/lang/String;)Ljava/lang/String;") \
template(classloader_class_string_string_long_signature, "(Ljava/lang/ClassLoader;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)J") \
template(byte_array_void_signature, "([B)V") \
template(long_long_void_signature, "(JJ)V") \
template(void_byte_array_signature, "()[B") \
template(encodeAnnotations_signature, "([BLjava/lang/Class;Ljdk/internal/reflect/ConstantPool;Z[Ljava/lang/Class;)[B")\
template(decodeAndThrowThrowable_signature, "(IJZZ)V") \
template(classRedefinedCount_name, "classRedefinedCount") \
template(classLoader_name, "classLoader") \
template(componentType_name, "componentType") \
+ template(primaryType_name, "primaryType") \
+ template(secondaryType_name, "secondaryType") \
\
/* forEachRemaining support */ \
template(java_util_stream_StreamsRangeIntSpliterator, "java/util/stream/Streams$RangeIntSpliterator") \
\
/* jfr signatures */ \
template(java_util_ArrayList, "java/util/ArrayList") \
template(runtimeSetup, "runtimeSetup") \
template(toFileURL_name, "toFileURL") \
template(toFileURL_signature, "(Ljava/lang/String;)Ljava/net/URL;") \
\
+ template(java_lang_runtime_ValueObjectMethods, "java/lang/runtime/ValueObjectMethods") \
+ template(isSubstitutable_name, "isSubstitutable") \
+ template(valueObjectHashCode_name, "valueObjectHashCode") \
+ template(jdk_internal_value_PrimitiveClass, "jdk/internal/value/PrimitiveClass") \
+ template(jdk_internal_value_ValueClass, "jdk/internal/value/ValueClass") \
+ \
/* jcmd Thread.dump_to_file */ \
template(jdk_internal_vm_ThreadDumper, "jdk/internal/vm/ThreadDumper") \
template(dumpThreads_name, "dumpThreads") \
template(dumpThreadsToJson_name, "dumpThreadsToJson") \
\
private:
// Field signatures indexed by BasicType.
static Symbol* _type_signatures[T_VOID+1];
+ static void initialize_migrated_class_names();
+
+ static const int _migrated_class_names_length = 31;
+ static Symbol* _migrated_class_names[_migrated_class_names_length];
public:
// Initialization
static void initialize();
// Accessing
#ifndef PRODUCT
// No need for this in the product:
static const char* name_for(vmSymbolID sid);
#endif //PRODUCT
+
+ template<typename Function>
+ static void migrated_class_names_do(Function f) {
+ for (int i = 0; i < _migrated_class_names_length; i++) {
+ f(_migrated_class_names[i]);
+ }
+ }
};
#endif // SHARE_CLASSFILE_VMSYMBOLS_HPP
< prev index next >