use of com.navercorp.pinpoint.profiler.instrument.lambda.LambdaTransformBootloader in project pinpoint by naver.
the class DefaultApplicationContext method lambdaFactorySetup.
private void lambdaFactorySetup(Instrumentation instrumentation, ClassFileTransformModuleAdaptor classFileTransformer, JavaModuleFactory javaModuleFactory) {
final JvmVersion version = JvmUtils.getVersion();
// TODO version.onOrAfter(JvmVersion.JAVA_8)
if (version.onOrAfter(JvmVersion.JAVA_9)) {
LambdaTransformBootloader lambdaTransformBootloader = new LambdaTransformBootloader();
lambdaTransformBootloader.transformLambdaFactory(instrumentation, classFileTransformer, javaModuleFactory);
}
}
Aggregations