wForget commented on code in PR #1260:
URL: https://github.com/apache/auron/pull/1260#discussion_r2320627613


##########
native-engine/auron/src/rt.rs:
##########
@@ -120,6 +120,9 @@ impl NativeExecutionRuntime {
                 let _ = jni_call_static!(
                     
JniBridge.setTaskContext(spark_task_context_global.as_obj()) -> ()
                 );
+                let _ = jni_call_static!(
+                    JniBridge.initNativeThread() -> ()

Review Comment:
   Should we also use this method to set `classloader` and `spark_task_context` 
to reduce jni calls? cc @richox 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@auron.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to