comparison src/share/vm/classfile/classLoaderData.cpp @ 7614:59a58e20dc60

8006537: Assert when dumping archive with default methods Reviewed-by: coleenp
author jmasa
date Thu, 17 Jan 2013 19:04:48 -0800
parents e51c9860cf66
children 5daaddd917a1
comparison
equal deleted inserted replaced
7613:2dce7c34c564 7614:59a58e20dc60
316 delete _deallocate_list; 316 delete _deallocate_list;
317 } 317 }
318 } 318 }
319 319
320 Metaspace* ClassLoaderData::metaspace_non_null() { 320 Metaspace* ClassLoaderData::metaspace_non_null() {
321 assert(!DumpSharedSpaces, "wrong metaspace!");
321 // If the metaspace has not been allocated, create a new one. Might want 322 // If the metaspace has not been allocated, create a new one. Might want
322 // to create smaller arena for Reflection class loaders also. 323 // to create smaller arena for Reflection class loaders also.
323 // The reason for the delayed allocation is because some class loaders are 324 // The reason for the delayed allocation is because some class loaders are
324 // simply for delegating with no metadata of their own. 325 // simply for delegating with no metadata of their own.
325 if (_metaspace == NULL) { 326 if (_metaspace == NULL) {