anmolanmol1234 commented on code in PR #8153:
URL: https://github.com/apache/hadoop/pull/8153#discussion_r2671871133


##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/ReadBufferManagerV2.java:
##########
@@ -100,7 +100,8 @@ public final class ReadBufferManagerV2 extends 
ReadBufferManager {
 
   private byte[][] bufferPool;
 
-  private final Stack<Integer> removedBufferList = new Stack<>();
+  private final ConcurrentSkipListSet<Integer> removedBufferList = new 
ConcurrentSkipListSet<>();
+  private ConcurrentSkipListSet<Integer> freeList = new 
ConcurrentSkipListSet<>();

Review Comment:
   Add comments for this change



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

To unsubscribe, e-mail: [email protected]

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