viirya commented on issue #1035:
URL: 
https://github.com/apache/datafusion-comet/issues/1035#issuecomment-2436621311

   > I wonder if there might be be some way to use Arc / ref counting to verify 
at runtime that there are no remaining references to the underlying CometBuffer 
before it is reused
   
   I just took another look at the related code. Arc / ref counting check won't 
be effective here, is also because these arrays are passed across JVM/native 
through C Data interface. Even I try to add an Arc to guard exclusive 
modification on the buffer data. Once we export the arrays through JVM and 
import into native, imported buffers won't get the Arc ref counts back but 
start with new Arc pointers.
   
   
   
   
   


-- 
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: github-unsubscr...@datafusion.apache.org

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


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

Reply via email to