8241934: Simplify parse_stream() and remove has_class_mirror_holder_cld()

Added paramter to register_loader() which allowed removing of has_class_mirror_holder_cld()

Reviewed-by: coleenp, lfoltan
This commit is contained in:
Harold Seigel 2020-05-11 15:00:16 +00:00
parent 3887904c16
commit 39670b0e57
5 changed files with 20 additions and 30 deletions

View file

@ -877,12 +877,6 @@ void ClassLoaderData::free_deallocate_list_C_heap_structures() {
}
}
// These CLDs are to contain non-strong hidden classes or unsafe anonymous classes used for JSR292
ClassLoaderData* ClassLoaderData::has_class_mirror_holder_cld(Handle loader) {
// Add a new class loader data to the graph.
return ClassLoaderDataGraph::add(loader, true);
}
// Caller needs ResourceMark
// If the class loader's _name has not been explicitly set, the class loader's
// qualified class name is returned.