shuai-xu commented on code in PR #9150: URL: https://github.com/apache/incubator-gluten/pull/9150#discussion_r2022045800
########## 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: There is also `synchronized` used in other function, I will remove them all in another pr. -- 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