Skip to content

Commit

Permalink
Remove VisibleForTesting.
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Dec 10, 2018
1 parent 4c621d2 commit 9d52320
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,11 @@ public long spill(long size, MemoryConsumer trigger) throws IOException {
return used;
}

@VisibleForTesting
public void use(long size) {
long got = taskMemoryManager.acquireExecutionMemory(size, this);
used += got;
}

@VisibleForTesting
public void free(long size) {
used -= size;
taskMemoryManager.releaseExecutionMemory(size, this);
Expand Down

0 comments on commit 9d52320

Please sign in to comment.