CurtHagenlocher commented on PR #35996: URL: https://github.com/apache/arrow/pull/35996#issuecomment-1589695207
> If I understand correctly the basic premise is that, on import, we let `CArrowArray` be in the garbage collector pool since it should be safe to destroy if we happen to lose all references to it (unlike an exported array which we assume will have external references)? That seems valid to me. By embedding in the `ImportedArrowArray`, it's allocated as part of that object and will have a lifetime equal to it. This is exactly what we want, because it's the `ImportedArrowArray` which already manages the lifetime of the imported memory. -- 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]
