use of com.navercorp.pinpoint.profiler.plugin.ClassLoadingChecker in project pinpoint by naver.
the class PlainClassLoaderHandler method defineJarClass.
private void defineJarClass(ClassLoader classLoader, ClassLoaderAttachment attachment) {
if (isDebug) {
logger.debug("define Jar:{}", pluginConfig.getPluginJarURLExternalForm());
}
List<FileBinary> fileBinaryList = readJar();
Map<String, SimpleClassMetadata> classEntryMap = parse(fileBinaryList);
for (Map.Entry<String, SimpleClassMetadata> entry : classEntryMap.entrySet()) {
final SimpleClassMetadata classMetadata = entry.getValue();
ClassLoadingChecker classLoadingChecker = new ClassLoadingChecker();
classLoadingChecker.isFirstLoad(classMetadata.getClassName());
define0(classLoader, attachment, classMetadata, classEntryMap, classLoadingChecker);
}
}
Aggregations