Explore tweets tagged as #arrayblockingqueue
Newsletter 319 ArrayBlockingQueue: Weakly Consistent Iteration Powered by Weak References #Java.
0
11
11
@asdfghghf323 ์ค์ ๋ก ArrayBlockingQueue ๋ฅผ ์ฐธ๊ณ ํ๊ธฐ๋ ํ์์ฃ . ๊ฐ์ thread ๋ synchrinized ์ Object ์ wait. , notify. ๋ฅผ ์ฐ๋ฉด ์ ๋๋ค๊ธธ๋ ํจ๊ป ๊ณต๋ถํ๋ค๋ ์๊ฐ์ผ๋ก ํด๋ดค์ต๋๋ค. ๋ด๋ถ ํํ queue ๋์์ ArrayDeque ๋ฅผ ์ฐธ๊ณ ํด์ ์์
ํ๊ณ ์.
1
0
1
@antonarhipov @DevoxxPL Almost ;) The first implementation was using ArrayBlockingQueue, but that didn't work that well (i.e., was slow).
0
0
4