Skip to content

Commit

Permalink
Concurrency issue when pages from several preallocate area compete wi…
Browse files Browse the repository at this point in the history
…th each other is fixed
  • Loading branch information
andrii0lomakin committed Feb 15, 2017
1 parent 2f7c996 commit e7562ea
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ public void onShutdown() {
for (BufferHolder bufferHolder : preallocatedAreas.values()) {
clean(bufferHolder.buffer, cleaned);
}
this.preallocatedAreas.clear();
}

nextAllocationPosition.set(0);
Expand Down

0 comments on commit e7562ea

Please sign in to comment.