StefanRRichter commented on a change in pull request #8692: [FLINK-12804]
Introduce mailbox-based ExecutorService
URL: https://github.com/apache/flink/pull/8692#discussion_r302981990
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/mailbox/MailboxImpl.java
##########
@@ -80,7 +58,7 @@
private final Condition notEmpty;
/**
- * Number of letters in the mailbox.
+ * Number of letters in the mailbox. We track it separately from the
queue#size to avoid locking on {@link #hasMail()}.
Review comment:
I tried that, it did not work.
----------------------------------------------------------------
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]
With regards,
Apache Git Services