Github user zhijiangW commented on the issue:
https://github.com/apache/flink/pull/4485
@NicoK , I have submitted the updates based on last comments.
Your concerns of interaction between requesting memory segments and
creating buffer pool is really necessary. I also noticed that after reviewed
the process. ---
