pnowojski commented on a change in pull request #11567:
URL: https://github.com/apache/flink/pull/11567#discussion_r413022925
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/buffer/LocalBufferPool.java
##########
@@ -463,4 +516,29 @@ private void returnExcessMemorySegments() {
returnMemorySegment(segment);
}
}
+
+ @Nullable
+ @Override
+ public BufferRecycler[] getSubpartitionBufferRecyclers() {
+ return subpartitionBufferRecyclers;
+ }
+
+ /**
+ *
+ */
+ class SubpartitionBufferRecycler implements BufferRecycler {
+
+ private int channel;
+ private LocalBufferPool bufferPool;
Review comment:
nit: As this class is not static, you don't need `bufferPool` field. So
you can either drop this field, or make the `SubpartitionBufferRecycler` class
static.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]