Чем отличаются LinkedBlockingQueue от ConcurrentLinkedQueue?
Я прочитал блог, но не уверен, что его заключение верное:
http://www.javacodegeeks.com/2010/09/java-best-practices-queue-battle-and.html#ixzz1seaiSLwp
Он сказал :As you can see from the provided performance results LinkedBlockingQueue achieved the best combined (adding and removing elements) performance results and should be your number one candidate for implementing producer – consumer schenarios.
Интересно, разве не быстрее, если я не использую блокировку в моем коде?
Так почему LinkedBlockingQueue быстрее, чем очередь без блокировки (ConcurrentLinkedQueue)?
Спасибо !