Search in sources :

Example 6 with TraceProcessor

use of com.oracle.svm.configure.trace.TraceProcessor in project graal by oracle.

the class ConfigurationWithOriginsResultWriter method createNewTraceProcessor.

private TraceProcessor createNewTraceProcessor() {
    TypeConfiguration jniConfig = new TypeConfiguration();
    TypeConfiguration reflectConfig = new TypeConfiguration();
    ProxyConfiguration proxyConfig = new ProxyConfiguration();
    ResourceConfiguration resourceConfig = new ResourceConfiguration();
    SerializationConfiguration serializationConfiguration = new SerializationConfiguration();
    PredefinedClassesConfiguration predefinedClassesConfiguration = new PredefinedClassesConfiguration(new Path[0], null);
    return new TraceProcessor(advisor, jniConfig, reflectConfig, proxyConfig, resourceConfig, serializationConfiguration, predefinedClassesConfiguration, null);
}
Also used : ProxyConfiguration(com.oracle.svm.configure.config.ProxyConfiguration) TraceProcessor(com.oracle.svm.configure.trace.TraceProcessor) TypeConfiguration(com.oracle.svm.configure.config.TypeConfiguration) SerializationConfiguration(com.oracle.svm.configure.config.SerializationConfiguration) PredefinedClassesConfiguration(com.oracle.svm.configure.config.PredefinedClassesConfiguration) ResourceConfiguration(com.oracle.svm.configure.config.ResourceConfiguration)

Aggregations

TraceProcessor (com.oracle.svm.configure.trace.TraceProcessor)6 ConfigurationSet (com.oracle.svm.configure.config.ConfigurationSet)3 AccessAdvisor (com.oracle.svm.configure.trace.AccessAdvisor)3 IOException (java.io.IOException)3 PredefinedClassesConfiguration (com.oracle.svm.configure.config.PredefinedClassesConfiguration)2 ProxyConfiguration (com.oracle.svm.configure.config.ProxyConfiguration)2 ResourceConfiguration (com.oracle.svm.configure.config.ResourceConfiguration)2 SerializationConfiguration (com.oracle.svm.configure.config.SerializationConfiguration)2 TypeConfiguration (com.oracle.svm.configure.config.TypeConfiguration)2 FilterConfigurationParser (com.oracle.svm.configure.filters.FilterConfigurationParser)2 RuleNode (com.oracle.svm.configure.filters.RuleNode)2 Function (java.util.function.Function)2 Predicate (java.util.function.Predicate)2 Test (org.junit.Test)2 AgentMetaInfProcessor (com.oracle.svm.agent.ignoredconfig.AgentMetaInfProcessor)1 ConfigurationWithOriginsResultWriter (com.oracle.svm.agent.predicatedconfig.ConfigurationWithOriginsResultWriter)1 MethodInfoRecordKeeper (com.oracle.svm.agent.predicatedconfig.MethodInfoRecordKeeper)1 EagerlyLoadedJavaStackAccess (com.oracle.svm.agent.stackaccess.EagerlyLoadedJavaStackAccess)1 InterceptedState (com.oracle.svm.agent.stackaccess.InterceptedState)1 OnDemandJavaStackAccess (com.oracle.svm.agent.stackaccess.OnDemandJavaStackAccess)1