hotspot/src/share/vm/classfile/systemDictionary.cpp
changeset 12623 09fcb0dc71ad
parent 11628 13155c0c00b4
child 12772 d317e5e08194
equal deleted inserted replaced
12620:0800727b4b0f 12623:09fcb0dc71ad
  1969   // Preload commonly used klasses
  1969   // Preload commonly used klasses
  1970   WKID scan = FIRST_WKID;
  1970   WKID scan = FIRST_WKID;
  1971   // first do Object, String, Class
  1971   // first do Object, String, Class
  1972   initialize_wk_klasses_through(WK_KLASS_ENUM_NAME(Class_klass), scan, CHECK);
  1972   initialize_wk_klasses_through(WK_KLASS_ENUM_NAME(Class_klass), scan, CHECK);
  1973 
  1973 
       
  1974   // Calculate offsets for String and Class classes since they are loaded and
       
  1975   // can be used after this point.
       
  1976   java_lang_String::compute_offsets();
  1974   java_lang_Class::compute_offsets();
  1977   java_lang_Class::compute_offsets();
  1975 
  1978 
  1976   // Fixup mirrors for classes loaded before java.lang.Class.
  1979   // Fixup mirrors for classes loaded before java.lang.Class.
  1977   // These calls iterate over the objects currently in the perm gen
  1980   // These calls iterate over the objects currently in the perm gen
  1978   // so calling them at this point is matters (not before when there
  1981   // so calling them at this point is matters (not before when there