| 866 | int64_t MemoryPoolImpl::releasableReservation() const { |
| 867 | if (isLeaf()) { |
| 868 | std::lock_guard<std::mutex> l(mutex_); |
| 869 | return std::max<int64_t>( |
| 870 | 0, reservationBytes_ - quantizedSize(usedReservationBytes_)); |
| 871 | } |
| 872 | if (reservedBytes() == 0) { |
| 873 | return 0; |
no outgoing calls