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 2019/02/25 08:56:56 UTC

[GitHub] dawidwys commented on a change in pull request #7501: [FLINK-11343] Omit actions in memory manager after shutdown instead o…

dawidwys commented on a change in pull request #7501: [FLINK-11343] Omit actions in memory manager after shutdown instead o…
URL: https://github.com/apache/flink/pull/7501#discussion_r259726307
 
 

 ##########
 File path: flink-runtime/src/main/java/org/apache/flink/runtime/memory/MemoryManager.java
 ##########
 @@ -288,7 +288,7 @@ public void allocatePages(Object owner, List<MemorySegment> target, int numPages
 		// -------------------- BEGIN CRITICAL SECTION -------------------
 		synchronized (lock) {
 			if (isShutDown) {
-				throw new IllegalStateException("Memory manager has been shut down.");
+				return;
 
 Review comment:
   Revert changes in this file.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services