< prev index next > src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp
Print this page
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #include <oops/inlineKlass.hpp>
#include "precompiled.hpp"
#include "classfile/classLoaderDataGraph.hpp"
#include "classfile/dictionary.hpp"
#include "classfile/javaClasses.hpp"
#include "gc/shared/collectedHeap.hpp"
// Collect array classes this way when walking the dictionary (because array classes are
// not in the dictionary).
for (Klass* l = k->array_klass_or_null(); l != nullptr; l = l->array_klass_or_null()) {
_classStack.push((jclass) _env->jni_reference(Handle(_cur_thread, l->java_mirror())));
}
+ // CMH flat arrays (InlineKlass)
}
}
jvmtiError get_result(JvmtiEnv *env, jint* classCountPtr, jclass** classesPtr) {
// Return results by extracting the collected contents into a list
< prev index next >