[Java] AllocationListener should be called during ownership transferring
- Lenguaje dominante
- Java
- Estrellas
- 94
- Forks
- 152
- Merge medio
- 3 d 16 h
- PR fusionados (30 d)
- 11
Descripción
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.*
Guía de contribución
Línea de trabajo
Revisa la implementación de la asignación y la transferencia de propiedad; después, inspecciona PR #11800 para consultar el trabajo existente. Se considera terminado cuando allocator1.listener recibe onRelease() al transferirse la propiedad de buffer1 a allocator2, tal como ya ocurre cuando buffer1 se cierra sin transferirse.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- backend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 25/100