comparison src/share/vm/classfile/dictionary.cpp @ 7185:90273fc0a981

8000662: NPG: nashorn ant clean test262 out-of-memory with Java heap Summary: Add ClassLoaderData object for each anonymous class with metaspaces to allocate in. Reviewed-by: twisti, jrose, stefank
author coleenp
date Thu, 29 Nov 2012 16:50:29 -0500
parents 070d523b96a7
children 1f9994892f89
comparison
equal deleted inserted replaced
7181:2fc0334f613a 7185:90273fc0a981
578 guarantee(e->oop_is_instance(), 578 guarantee(e->oop_is_instance(),
579 "Verify of system dictionary failed"); 579 "Verify of system dictionary failed");
580 // class loader must be present; a null class loader is the 580 // class loader must be present; a null class loader is the
581 // boostrap loader 581 // boostrap loader
582 guarantee(loader_data != NULL || DumpSharedSpaces || 582 guarantee(loader_data != NULL || DumpSharedSpaces ||
583 loader_data->is_the_null_class_loader_data() || 583 loader_data->class_loader() == NULL ||
584 loader_data->class_loader()->is_instance(), 584 loader_data->class_loader()->is_instance(),
585 "checking type of class_loader"); 585 "checking type of class_loader");
586 e->verify(); 586 e->verify();
587 probe->verify_protection_domain_set(); 587 probe->verify_protection_domain_set();
588 element_count++; 588 element_count++;