Mercurial > hg > graal-jvmci-8
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/memory/universe.cpp Tue Nov 27 14:11:37 2012 -0800 +++ b/src/share/vm/memory/universe.cpp Thu Nov 29 16:50:29 2012 -0500 @@ -407,6 +407,10 @@ assert(i == _fullgc_alot_dummy_array->length(), "just checking"); } #endif + + // Initialize dependency array for null class loader + ClassLoaderData::the_null_class_loader_data()->init_dependencies(CHECK); + } // CDS support for patching vtables in metadata in the shared archive.