baibaichen commented on issue #11485: URL: https://github.com/apache/incubator-gluten/issues/11485#issuecomment-3799449756
> > use shared_ptr instead of weak_ptr to completely avoid this issue > > The reason of using weak_ptr is to destroy the unused memory pool in time. Use shared_ptr will result in `VeloxMemoryManager::dropMemoryPool` not being called. If so, how about creating new memory pool when `weak_ptr::lock()` return `nullptr` -- 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]
