Commits

David Li authored 53026f9e358
ARROW-9586: [FlightRPC][Java] implement per-call allocator This allows gRPC servers to be configured such that every DoGet, DoPut, or DoExchange call gets its own child allocator that is closed when the RPC ends. This includes temporary allocations made by Flight itself, e.g. in serializing and deserializing data. This way, we can more tightly control memory usage and track memory leaks in Flight and in application on the granularity of a particular RPC, instead of for the server as a whole. It also means we can track fine-grained metrics for memory usage per RPC. Closes #8265 from lidavidm/arrow-9586 Authored-by: David Li <li.davidm96@gmail.com> Signed-off-by: David Li <li.davidm96@gmail.com>