|
|
@ -18,6 +18,7 @@ import com.fr.event.Null; |
|
|
|
import com.fr.intelli.metrics.Compute; |
|
|
|
import com.fr.intelli.metrics.Compute; |
|
|
|
import com.fr.intelli.record.Focus; |
|
|
|
import com.fr.intelli.record.Focus; |
|
|
|
import com.fr.intelli.record.PerformancePoint; |
|
|
|
import com.fr.intelli.record.PerformancePoint; |
|
|
|
|
|
|
|
import com.fr.jvm.assist.FineAssist; |
|
|
|
import com.fr.module.Activator; |
|
|
|
import com.fr.module.Activator; |
|
|
|
import com.fr.module.extension.Prepare; |
|
|
|
import com.fr.module.extension.Prepare; |
|
|
|
import com.fr.record.analyzer.AnalyzerConfiguration; |
|
|
|
import com.fr.record.analyzer.AnalyzerConfiguration; |
|
|
@ -57,7 +58,7 @@ public class DesignerAnalyzerActivator extends Activator implements Prepare { |
|
|
|
List<AnalyzerConfiguration> backwardsConfigurations = findMutableBackwards(AnalyzerKey.KEY); |
|
|
|
List<AnalyzerConfiguration> backwardsConfigurations = findMutableBackwards(AnalyzerKey.KEY); |
|
|
|
if (!CollectionUtils.isEmpty(backwardsConfigurations)) { |
|
|
|
if (!CollectionUtils.isEmpty(backwardsConfigurations)) { |
|
|
|
// 直接初始化,不添加默认值,防止和下面的冲突
|
|
|
|
// 直接初始化,不添加默认值,防止和下面的冲突
|
|
|
|
FineAnalyzer.initDirectly(basicFactory, backwardsConfigurations.toArray(new AnalyzerConfiguration[0])); |
|
|
|
FineAnalyzer.initDirectly(FineAssist.findInstrumentation(), basicFactory, backwardsConfigurations.toArray(new AnalyzerConfiguration[0])); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 等页面完全打开后,再进行 retransform, 别影响了启动速度
|
|
|
|
// 等页面完全打开后,再进行 retransform, 别影响了启动速度
|
|
|
|