shuai-xu commented on code in PR #9150:
URL: https://github.com/apache/incubator-gluten/pull/9150#discussion_r2022050580


##########
gluten-core/src/main/java/org/apache/gluten/jni/JniWorkspace.java:
##########
@@ -99,12 +85,17 @@ public static void enableDebug(String debugDir) {
     }
   }
 
-  public static JniWorkspace getDefault() {
+  public static void initializeDefault(String rootDir) {
     synchronized (DEFAULT_INSTANCE_INIT_LOCK) {

Review Comment:
   In tests, driver and executors are in the same process, so `initialize` may 
be call by driver and executor at the same time.



-- 
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...@gluten.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org

Reply via email to