Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
henningandersen committed Jan 25, 2024
1 parent ecc3332 commit 912e4cd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1415,6 +1415,7 @@ private SharedBytes.IO maybeEvictAndTake(Runnable evictedNotification) {
if (ioRef != null) {
try {
if (entry.chunk.refCount() == 1) {
// we own that one refcount (since we CAS'ed evicted to 1)
// grab io, rely on incref'ers also checking evicted field.
entry.chunk.io = null;
assert regionOwners.remove(ioRef) == entry.chunk;
Expand Down

0 comments on commit 912e4cd

Please sign in to comment.