8209821: Make JVMTI GetClassLoaderClasses not walk CLDG

And also added function with KlassClosure to remove the hacks.

Reviewed-by: lfoltan, sspitsyn
This commit is contained in:
Coleen Phillimore 2018-08-25 11:10:21 -04:00
parent 51c04f947f
commit fd9fa38d21
10 changed files with 62 additions and 258 deletions

View file

@ -134,9 +134,6 @@ class ClassLoaderDataGraph : public AllStatic {
// Added for initialize_itable_for_klass to handle exceptions.
static void dictionary_classes_do(void f(InstanceKlass*, TRAPS), TRAPS);
// Iterate all classes and their class loaders, including initiating class loaders.
static void dictionary_all_entries_do(void f(InstanceKlass*, ClassLoaderData*));
// VM_CounterDecay iteration support
static InstanceKlass* try_get_next_class();