mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8197844: JVMTI GetLoadedClasses should use the Access API
Make sure the holder of a class loader is accessed during iteration of CLDG Reviewed-by: eosterlund, rkennke
This commit is contained in:
parent
c944c3aba7
commit
b15a3ff611
3 changed files with 34 additions and 19 deletions
|
@ -288,6 +288,7 @@ class ClassLoaderData : public CHeapObj<mtClass> {
|
|||
|
||||
void unload();
|
||||
bool keep_alive() const { return _keep_alive > 0; }
|
||||
oop holder_phantom();
|
||||
void classes_do(void f(Klass*));
|
||||
void loaded_classes_do(KlassClosure* klass_closure);
|
||||
void classes_do(void f(InstanceKlass*));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue