felipepessoto commented on code in PR #13561:
URL: https://github.com/apache/gluten/pull/13561#discussion_r4699482617


##########
cpp/velox/compute/VeloxBackend.cc:
##########
@@ -164,6 +167,8 @@ void VeloxBackend::init(
   MemoryManager::registerFactory(kVeloxBackendKind, veloxMemoryManagerFactory, 
veloxMemoryManagerReleaser);
   ThreadManager::registerFactory(kVeloxBackendKind, veloxThreadManagerFactory, 
veloxThreadManagerReleaser);
   Runtime::registerFactory(kVeloxBackendKind, veloxRuntimeFactory, 
veloxRuntimeReleaser);
+  registerJniInputIteratorFactory(kVeloxBackendKind, 
createVeloxJniInputIterator);
+  static const JniExceptionUnwrapperRegistration 
exceptionUnwrapper(unwrapVeloxException);

Review Comment:
   Yes. In 46e9eb173, `VeloxBackend::init()` now calls 
`registerVeloxExceptionUnwrapper()` alongside the other registrations. The 
helper keeps the registration function-local and static, so it still happens 
once and remains active for the lifetime of the backend library.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to