< prev index next >
src/hotspot/share/classfile/systemDictionary.cpp
Print this page
*** 1161,1171 ****
void SystemDictionary::set_shared_dictionary(HashtableBucket<mtClass>* t, int length,
int number_of_entries) {
assert(length == _shared_dictionary_size * sizeof(HashtableBucket<mtClass>),
"bad shared dictionary size.");
_shared_dictionary = new Dictionary(ClassLoaderData::the_null_class_loader_data(),
! _shared_dictionary_size, t, number_of_entries);
}
// If there is a shared dictionary, then find the entry for the
// given shared system class, if any.
--- 1161,1172 ----
void SystemDictionary::set_shared_dictionary(HashtableBucket<mtClass>* t, int length,
int number_of_entries) {
assert(length == _shared_dictionary_size * sizeof(HashtableBucket<mtClass>),
"bad shared dictionary size.");
_shared_dictionary = new Dictionary(ClassLoaderData::the_null_class_loader_data(),
! _shared_dictionary_size, t, number_of_entries,
! false /* explicitly set _resizable to false */);
}
// If there is a shared dictionary, then find the entry for the
// given shared system class, if any.
< prev index next >