uschindler commented on PR #816:
URL: https://github.com/apache/lucene/pull/816#issuecomment-1110698870

   > That being said, I don't have real opposition to this patch, but I want us 
to be careful about correctness. I am also concerned about not hurting the 
performance of well-behaved apps that don't do bad things. I'm not the best one 
to review the concurrency/performance implications, as I only have a small 
2-core laptop and I can barely remember how Java language works. But let's not 
punish apps that use threads reasonably. I'm not concerned about performance of 
badly behaved apps, because they need to fix how they use threads, and we can't 
help them do that.
   
   See my previous comment: I fully agree and I doubt that this will not affect 
performance for well-behaving apps. With that patch every `get()` goes through 
a lock, because the underlying map has no concurrent variant (missing 
`WeakConcurrentHashMap`) in Java.


-- 
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: issues-unsubscr...@lucene.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to