private int dropReference() {
    final int usages = counter.decrementAndGet();
    if (usages == 0) {
      sharing.releaseBuffer();
    }
    return usages;
  }
The destructor. Called by the resource owner to undo the work of the constructor.
geode-core/src/main/java/org/apache/geode/internal/net/ByteBufferVendor.java