Class GraphScopeClassLoader


  • public class GraphScopeClassLoader
    extends Object
    GraphScope Class Loader contains several static functions which will be used by GraphScope grape_engine at runtime, to initiating java runtime environment. When java app(packed in jar) is submitted to grape engine, a jvm will be initiated via JNI interface pointer if jvm has not been created is this process. Rather than directly load java classes via JNI interface pointer, we utilize a URLClassLoader for each jar to do this. The benefit of this solution is the ioslated jvm environment provided by class loaders, which can avoid possible class conflicts.