< prev index next >

src/hotspot/share/classfile/systemDictionary.hpp

Print this page
rev 54327 : 8221477: Inject os/cpu-specific constants into Unsafe from JVM
Summary: Initialize Unsafe os/cpu-specific constants using injection instead of native callouts
Reviewed-by: stuefe


 120   do_klass(SecureClassLoader_klass,                     java_security_SecureClassLoader                       ) \
 121   do_klass(ClassNotFoundException_klass,                java_lang_ClassNotFoundException                      ) \
 122   do_klass(NoClassDefFoundError_klass,                  java_lang_NoClassDefFoundError                        ) \
 123   do_klass(LinkageError_klass,                          java_lang_LinkageError                                ) \
 124   do_klass(ClassCastException_klass,                    java_lang_ClassCastException                          ) \
 125   do_klass(ArrayStoreException_klass,                   java_lang_ArrayStoreException                         ) \
 126   do_klass(VirtualMachineError_klass,                   java_lang_VirtualMachineError                         ) \
 127   do_klass(OutOfMemoryError_klass,                      java_lang_OutOfMemoryError                            ) \
 128   do_klass(StackOverflowError_klass,                    java_lang_StackOverflowError                          ) \
 129   do_klass(IllegalMonitorStateException_klass,          java_lang_IllegalMonitorStateException                ) \
 130   do_klass(Reference_klass,                             java_lang_ref_Reference                               ) \
 131                                                                                                                 \
 132   /* ref klasses and set reference types */                                                                     \
 133   do_klass(SoftReference_klass,                         java_lang_ref_SoftReference                           ) \
 134   do_klass(WeakReference_klass,                         java_lang_ref_WeakReference                           ) \
 135   do_klass(FinalReference_klass,                        java_lang_ref_FinalReference                          ) \
 136   do_klass(PhantomReference_klass,                      java_lang_ref_PhantomReference                        ) \
 137   do_klass(Finalizer_klass,                             java_lang_ref_Finalizer                               ) \
 138                                                                                                                 \
 139   do_klass(Thread_klass,                                java_lang_Thread                                      ) \

 140   do_klass(ThreadGroup_klass,                           java_lang_ThreadGroup                                 ) \
 141   do_klass(Properties_klass,                            java_util_Properties                                  ) \
 142   do_klass(Module_klass,                                java_lang_Module                                      ) \
 143   do_klass(reflect_AccessibleObject_klass,              java_lang_reflect_AccessibleObject                    ) \
 144   do_klass(reflect_Field_klass,                         java_lang_reflect_Field                               ) \
 145   do_klass(reflect_Parameter_klass,                     java_lang_reflect_Parameter                           ) \
 146   do_klass(reflect_Method_klass,                        java_lang_reflect_Method                              ) \
 147   do_klass(reflect_Constructor_klass,                   java_lang_reflect_Constructor                         ) \
 148                                                                                                                 \
 149   /* NOTE: needed too early in bootstrapping process to have checks based on JDK version */                     \
 150   /* It's okay if this turns out to be NULL in non-1.4 JDKs. */                                                 \
 151   do_klass(reflect_MagicAccessorImpl_klass,             reflect_MagicAccessorImpl                             ) \
 152   do_klass(reflect_MethodAccessorImpl_klass,            reflect_MethodAccessorImpl                            ) \
 153   do_klass(reflect_ConstructorAccessorImpl_klass,       reflect_ConstructorAccessorImpl                       ) \
 154   do_klass(reflect_DelegatingClassLoader_klass,         reflect_DelegatingClassLoader                         ) \
 155   do_klass(reflect_ConstantPool_klass,                  reflect_ConstantPool                                  ) \
 156   do_klass(reflect_UnsafeStaticFieldAccessorImpl_klass, reflect_UnsafeStaticFieldAccessorImpl                 ) \
 157   do_klass(reflect_CallerSensitive_klass,               reflect_CallerSensitive                               ) \
 158                                                                                                                 \
 159   /* support for dynamic typing; it's OK if these are NULL in earlier JDKs */                                   \




 120   do_klass(SecureClassLoader_klass,                     java_security_SecureClassLoader                       ) \
 121   do_klass(ClassNotFoundException_klass,                java_lang_ClassNotFoundException                      ) \
 122   do_klass(NoClassDefFoundError_klass,                  java_lang_NoClassDefFoundError                        ) \
 123   do_klass(LinkageError_klass,                          java_lang_LinkageError                                ) \
 124   do_klass(ClassCastException_klass,                    java_lang_ClassCastException                          ) \
 125   do_klass(ArrayStoreException_klass,                   java_lang_ArrayStoreException                         ) \
 126   do_klass(VirtualMachineError_klass,                   java_lang_VirtualMachineError                         ) \
 127   do_klass(OutOfMemoryError_klass,                      java_lang_OutOfMemoryError                            ) \
 128   do_klass(StackOverflowError_klass,                    java_lang_StackOverflowError                          ) \
 129   do_klass(IllegalMonitorStateException_klass,          java_lang_IllegalMonitorStateException                ) \
 130   do_klass(Reference_klass,                             java_lang_ref_Reference                               ) \
 131                                                                                                                 \
 132   /* ref klasses and set reference types */                                                                     \
 133   do_klass(SoftReference_klass,                         java_lang_ref_SoftReference                           ) \
 134   do_klass(WeakReference_klass,                         java_lang_ref_WeakReference                           ) \
 135   do_klass(FinalReference_klass,                        java_lang_ref_FinalReference                          ) \
 136   do_klass(PhantomReference_klass,                      java_lang_ref_PhantomReference                        ) \
 137   do_klass(Finalizer_klass,                             java_lang_ref_Finalizer                               ) \
 138                                                                                                                 \
 139   do_klass(Thread_klass,                                java_lang_Thread                                      ) \
 140   do_klass(UnsafeConstants_klass,                       jdk_internal_misc_UnsafeConstants                     ) \
 141   do_klass(ThreadGroup_klass,                           java_lang_ThreadGroup                                 ) \
 142   do_klass(Properties_klass,                            java_util_Properties                                  ) \
 143   do_klass(Module_klass,                                java_lang_Module                                      ) \
 144   do_klass(reflect_AccessibleObject_klass,              java_lang_reflect_AccessibleObject                    ) \
 145   do_klass(reflect_Field_klass,                         java_lang_reflect_Field                               ) \
 146   do_klass(reflect_Parameter_klass,                     java_lang_reflect_Parameter                           ) \
 147   do_klass(reflect_Method_klass,                        java_lang_reflect_Method                              ) \
 148   do_klass(reflect_Constructor_klass,                   java_lang_reflect_Constructor                         ) \
 149                                                                                                                 \
 150   /* NOTE: needed too early in bootstrapping process to have checks based on JDK version */                     \
 151   /* It's okay if this turns out to be NULL in non-1.4 JDKs. */                                                 \
 152   do_klass(reflect_MagicAccessorImpl_klass,             reflect_MagicAccessorImpl                             ) \
 153   do_klass(reflect_MethodAccessorImpl_klass,            reflect_MethodAccessorImpl                            ) \
 154   do_klass(reflect_ConstructorAccessorImpl_klass,       reflect_ConstructorAccessorImpl                       ) \
 155   do_klass(reflect_DelegatingClassLoader_klass,         reflect_DelegatingClassLoader                         ) \
 156   do_klass(reflect_ConstantPool_klass,                  reflect_ConstantPool                                  ) \
 157   do_klass(reflect_UnsafeStaticFieldAccessorImpl_klass, reflect_UnsafeStaticFieldAccessorImpl                 ) \
 158   do_klass(reflect_CallerSensitive_klass,               reflect_CallerSensitive                               ) \
 159                                                                                                                 \
 160   /* support for dynamic typing; it's OK if these are NULL in earlier JDKs */                                   \


< prev index next >