You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2022/12/19 08:47:44 UTC

[GitHub] [bookkeeper] Radiancebobo commented on pull request #3706: [improvement ]Avoid leaks when use computeIfAbsent in ConcurrentLongHashMap and ConcurrentOpenHashMap

Radiancebobo commented on PR #3706:
URL: https://github.com/apache/bookkeeper/pull/3706#issuecomment-1357296620

   Found another bug, when the onlyIfAbsent of ```org.apache.bookkeeper.util.collections.ConcurrentLongHashMap.Section#put``` is false, the following unit test fails, I will fix it together:
   ![image](https://user-images.githubusercontent.com/39521534/208384700-2a617d23-32a4-440b-8e38-959e2625d793.png)
   
   ![image](https://user-images.githubusercontent.com/39521534/208384650-b7be917b-a00c-40fd-a90b-ec65b4303cbb.png)
   


-- 
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: commits-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org