gengliangwang commented on a change in pull request #32672:
URL: https://github.com/apache/spark/pull/32672#discussion_r639481159



##########
File path: core/src/main/java/org/apache/spark/memory/TaskMemoryManager.java
##########
@@ -133,7 +133,7 @@ public TaskMemoryManager(MemoryManager memoryManager, long 
taskAttemptId) {
    * Acquire N bytes of memory for a consumer. If there is no enough memory, 
it will call
    * spill() of consumers to release more memory.
    *
-   * @return number of bytes successfully granted (<= N).
+   * @return number of bytes successfully granted (>= N).

Review comment:
       You are right. Let's just remove the comparison with N here...




-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to