You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/07/24 14:49:26 UTC

[GitHub] [flink] azagrebin commented on a change in pull request #12981: [FLINK-18581] Do not run GC phantom cleaners for Java < 8u72

azagrebin commented on a change in pull request #12981:
URL: https://github.com/apache/flink/pull/12981#discussion_r460101119



##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/slot/TaskSlotTableImpl.java
##########
@@ -134,6 +143,12 @@ public TaskSlotTableImpl(
 		slotActions = null;
 		state = State.CREATED;
 		closingFuture = new CompletableFuture<>();
+
+		asyncExecutor = new ThreadPoolExecutor(
+			0,
+			numberSlots,
+			60L, TimeUnit.SECONDS,
+			new SynchronousQueue<>());

Review comment:
       What kind of test do you mean? I just want to use it as a cached executor. I want it to allocate a new thread if there is no idle one for each slot closing.




----------------------------------------------------------------
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:
users@infra.apache.org