equal
deleted
inserted
replaced
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 |