src/share/vm/classfile/classLoaderData.cpp

changeset 4866
16885e702c88
parent 4751
1fc4d4768b90
child 4903
ba42fd5e00e6
equal deleted inserted replaced
4865:818a1ac7da7a 4866:16885e702c88
319 if (_deallocate_list != NULL) { 319 if (_deallocate_list != NULL) {
320 delete _deallocate_list; 320 delete _deallocate_list;
321 } 321 }
322 } 322 }
323 323
324 /**
325 * Returns true if this class loader data is for the extension class loader.
326 */
327 bool ClassLoaderData::is_ext_class_loader_data() const {
328 return SystemDictionary::is_ext_class_loader(class_loader());
329 }
330
324 Metaspace* ClassLoaderData::metaspace_non_null() { 331 Metaspace* ClassLoaderData::metaspace_non_null() {
325 assert(!DumpSharedSpaces, "wrong metaspace!"); 332 assert(!DumpSharedSpaces, "wrong metaspace!");
326 // If the metaspace has not been allocated, create a new one. Might want 333 // If the metaspace has not been allocated, create a new one. Might want
327 // to create smaller arena for Reflection class loaders also. 334 // to create smaller arena for Reflection class loaders also.
328 // The reason for the delayed allocation is because some class loaders are 335 // The reason for the delayed allocation is because some class loaders are

mercurial