Mercurial > hg > truffle
comparison src/share/vm/memory/universe.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 | f34d701e952e |
children | 5fafdef522c6 |
comparison
equal
deleted
inserted
replaced
7181:2fc0334f613a | 7185:90273fc0a981 |
---|---|
405 } | 405 } |
406 } | 406 } |
407 assert(i == _fullgc_alot_dummy_array->length(), "just checking"); | 407 assert(i == _fullgc_alot_dummy_array->length(), "just checking"); |
408 } | 408 } |
409 #endif | 409 #endif |
410 | |
411 // Initialize dependency array for null class loader | |
412 ClassLoaderData::the_null_class_loader_data()->init_dependencies(CHECK); | |
413 | |
410 } | 414 } |
411 | 415 |
412 // CDS support for patching vtables in metadata in the shared archive. | 416 // CDS support for patching vtables in metadata in the shared archive. |
413 // All types inherited from Metadata have vtables, but not types inherited | 417 // All types inherited from Metadata have vtables, but not types inherited |
414 // from MetaspaceObj, because the latter does not have virtual functions. | 418 // from MetaspaceObj, because the latter does not have virtual functions. |