Skip to content

Commit

Permalink
[FLINK-12289][flink-runtime]Fix typos in Memory manager
Browse files Browse the repository at this point in the history
  • Loading branch information
liyafan82 authored and azagrebin committed Oct 29, 2019
1 parent d5bb073 commit 11ef253
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public boolean isShutdown() {
}

/**
* Checks if the memory manager all memory available.
* Checks if the memory manager's memory is completely available (nothing allocated at the moment).
*
* @return True, if the memory manager is empty and valid, false if it is not empty or corrupted.
*/
Expand Down Expand Up @@ -328,8 +328,7 @@ public void release(MemorySegment segment) {
* the memory pool of its type, increasing its available limit for the later allocations.
*
* @param segments The segments to be released.
* @throws NullPointerException Thrown, if the given collection is null.
* @throws IllegalArgumentException Thrown, id the segments are of an incompatible type.
* @throws IllegalArgumentException Thrown, if the segments are of an incompatible type.
*/
public void release(Collection<MemorySegment> segments) {
if (segments == null) {
Expand Down

0 comments on commit 11ef253

Please sign in to comment.