Github user NicoK commented on a diff in the pull request:
https://github.com/apache/flink/pull/4509#discussion_r152245491
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/RemoteInputChannel.java
---
@@ -240,15 +245,13 @@ void releaseAllResources() throws IOException {
}
}
}
-
- synchronized (availableBuffers) {
+ synchronized (bufferQueue) {
--- End diff --
add a `AvailableBufferQueue#releaseAll(exclusiveRecyclingSegments)`?---
