On Thu, 17 Feb 2022 12:45:10 GMT, Alex Menkov <amen...@openjdk.org> wrote:

>> src/hotspot/share/services/heapDumper.cpp line 2305:
>> 
>>> 2303:       ClassLoaderDataGraph::classes_do(&locked_dump_class);
>>> 2304:     }
>>> 2305:     Universe::basic_type_classes_do(&do_basic_type_array_class_dump);
>> 
>> If this is the last use of this function, you could remove this variant of 
>> this function from Universe.
>
> It's still used in JvmtiGetLoadedClasses::getClassLoaderClasses()

> void Universe::basic_type_classes_do(void f(Klass*)) {
This one is unused.  The other one that takes the Closure is the one that 
getClassLoaderClasses() calls.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7384

Reply via email to