hotspot/src/share/vm/classfile/systemDictionary.cpp
changeset 13736 5b15a8f57979
parent 13728 882756847a04
child 13738 d67be49a5beb
equal deleted inserted replaced
13735:c6d01e4bc0ac 13736:5b15a8f57979
  1951   if (UseSharedSpaces) {
  1951   if (UseSharedSpaces) {
  1952     initialize_wk_klasses_through(WK_KLASS_ENUM_NAME(Object_klass), scan, CHECK);
  1952     initialize_wk_klasses_through(WK_KLASS_ENUM_NAME(Object_klass), scan, CHECK);
  1953     // Initialize the constant pool for the Object_class
  1953     // Initialize the constant pool for the Object_class
  1954     InstanceKlass* ik = InstanceKlass::cast(Object_klass());
  1954     InstanceKlass* ik = InstanceKlass::cast(Object_klass());
  1955     ik->constants()->restore_unshareable_info(CHECK);
  1955     ik->constants()->restore_unshareable_info(CHECK);
  1956   initialize_wk_klasses_through(WK_KLASS_ENUM_NAME(Class_klass), scan, CHECK);
  1956     initialize_wk_klasses_through(WK_KLASS_ENUM_NAME(Class_klass), scan, CHECK);
  1957   } else {
  1957   } else {
  1958     initialize_wk_klasses_through(WK_KLASS_ENUM_NAME(Class_klass), scan, CHECK);
  1958     initialize_wk_klasses_through(WK_KLASS_ENUM_NAME(Class_klass), scan, CHECK);
  1959   }
  1959   }
  1960 
  1960 
  1961   // Calculate offsets for String and Class classes since they are loaded and
  1961   // Calculate offsets for String and Class classes since they are loaded and