Skip to content

Commit 0723963

Browse files
roberttoyonagabulasevich
authored andcommitted
Process each class' classloader in JfrTypeRepository
(cherry picked from commit 2a8e70d86505f834e81bbc5a6551e572b5455841)
1 parent adf733c commit 0723963

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jfr/JfrTypeRepository.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ private TypeInfo collectTypeInfo(boolean flushpoint) {
104104

105105
private void visitClass(TypeInfo typeInfo, Class<?> clazz) {
106106
if (clazz != null && addClass(typeInfo, clazz)) {
107+
visitClassLoader(typeInfo, clazz.getClassLoader());
107108
visitPackage(typeInfo, clazz.getPackage(), clazz.getModule());
108109
visitClass(typeInfo, clazz.getSuperclass());
109110
}

0 commit comments

Comments
 (0)