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 |