This is an automated email from the ASF dual-hosted git repository.

philo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 690b689cb4 [VL] Delete global reference to a class object in JNI unload
690b689cb4 is described below

commit 690b689cb4532f782da765af14eb73d065767adf
Author: PHILO-HE <[email protected]>
AuthorDate: Wed Apr 9 14:34:18 2025 +0800

    [VL] Delete global reference to a class object in JNI unload
---
 cpp/velox/jni/VeloxJniWrapper.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpp/velox/jni/VeloxJniWrapper.cc b/cpp/velox/jni/VeloxJniWrapper.cc
index 4f2d1c1ab7..25e946b68b 100644
--- a/cpp/velox/jni/VeloxJniWrapper.cc
+++ b/cpp/velox/jni/VeloxJniWrapper.cc
@@ -81,6 +81,7 @@ void JNI_OnUnload(JavaVM* vm, void*) {
   vm->GetEnv(reinterpret_cast<void**>(&env), jniVersion);
 
   env->DeleteGlobalRef(blockStripesClass);
+  env->DeleteGlobalRef(infoCls);
 
   finalizeVeloxJniUDF(env);
   finalizeVeloxJniFileSystem(env);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to