src/share/vm/classfile/systemDictionary.cpp

changeset 3760
8f972594effc
parent 3491
b2cd0ee8f778
child 3803
71afdabfd05b
equal deleted inserted replaced
3757:56d1af561395 3760:8f972594effc
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

mercurial