mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
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:
parent
3887904c16
commit
39670b0e57
5 changed files with 20 additions and 30 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue