Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/classfile/dictionary.cpp Tue Nov 27 14:11:37 2012 -0800 +++ b/src/share/vm/classfile/dictionary.cpp Thu Nov 29 16:50:29 2012 -0500 @@ -580,7 +580,7 @@ // class loader must be present; a null class loader is the // boostrap loader guarantee(loader_data != NULL || DumpSharedSpaces || - loader_data->is_the_null_class_loader_data() || + loader_data->class_loader() == NULL || loader_data->class_loader()->is_instance(), "checking type of class_loader"); e->verify();