Merge
authorvladidan
Wed, 30 Oct 2013 16:31:33 -0700
changeset 21195 1574a8a6b7bb
parent 21191 7dd3fc99a362 (current diff)
parent 21194 cda722d2add6 (diff)
child 21197 53137ed9f554
child 21211 8b133b9bef8e
Merge
--- a/hotspot/src/share/vm/classfile/systemDictionary.hpp	Wed Oct 30 14:02:27 2013 -0700
+++ b/hotspot/src/share/vm/classfile/systemDictionary.hpp	Wed Oct 30 16:31:33 2013 -0700
@@ -173,8 +173,6 @@
   /* It's okay if this turns out to be NULL in non-1.4 JDKs. */                                                          \
   do_klass(nio_Buffer_klass,                            java_nio_Buffer,                           Opt                 ) \
                                                                                                                          \
-  do_klass(PostVMInitHook_klass,                        sun_misc_PostVMInitHook,                   Opt                 ) \
-                                                                                                                         \
   /* Preload boxing klasses */                                                                                           \
   do_klass(Boolean_klass,                               java_lang_Boolean,                         Pre                 ) \
   do_klass(Character_klass,                             java_lang_Character,                       Pre                 ) \
--- a/hotspot/src/share/vm/runtime/thread.cpp	Wed Oct 30 14:02:27 2013 -0700
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Wed Oct 30 16:31:33 2013 -0700
@@ -1097,7 +1097,7 @@
 // General purpose hook into Java code, run once when the VM is initialized.
 // The Java library method itself may be changed independently from the VM.
 static void call_postVMInitHook(TRAPS) {
-  Klass* k = SystemDictionary::PostVMInitHook_klass();
+  Klass* k = SystemDictionary::resolve_or_null(vmSymbols::sun_misc_PostVMInitHook(), THREAD);
   instanceKlassHandle klass (THREAD, k);
   if (klass.not_null()) {
     JavaValue result(T_VOID);