[Java] AllocationListener should be called during ownership transferring
- 主要语言
- Java
- 星标
- 94
- 派生
- 152
- 平均合并
- 3 天 16 小时
- 30 天内合并 PR
- 11
描述
If we transfer balance of buffer1 from allocator1 to allocator2, onRelease() should be called from allocator1.listener as well as the case that buffer1 is closed without transferring.
**Reporter**: [Hongze Zhang](https://issues.apache.org/jira/browse/ARROW-14923) / @zhztheplayer
#### PRs and other links:
- [GitHub Pull Request apache/arrow#11800](https://github.com/apache/arrow/pull/11800)
**Note**: *This issue was originally created as [ARROW-14923](https://issues.apache.org/jira/browse/ARROW-14923). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
贡献指南
调研方向
检查分配和所有权转移的实现,然后查看 PR #11800 了解现有工作。当 buffer1 的所有权转移到 allocator2 时 allocator1.listener 接收到 onRelease(),就算完成;在 buffer1 关闭但未转移所有权时,目前已经会发生这种情况。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100