jsr166 Questions
4
Solved
I am a little bit confused as to what the difference is between BlockingQueue/LinkedBlockingQueue and the new TransferQueue/LinkedTransferQueue types from jsr166y and java 7
Giorgi asked 6/9, 2011 at 9:17
3
Solved
From the Java AtomicReferenceFieldUpdater docs:
Note that the guarantees of the compareAndSet method in this class are
weaker than in other atomic classes. Because this class cannot ensure
tha...
Euxenite asked 24/11, 2011 at 22:17
2
Under the default security manager, if I create an ExecutorService (ThreadPoolExecutor in this case), I cannot shut it down, shutdown() just calls checkPermission("modifyThread") and thus immediate...
Glacier asked 30/8, 2010 at 1:1
2
Solved
Brian Goetz's wrote a nice article on fork-join at http://www.ibm.com/developerworks/java/library/j-jtp03048.html. In it, he lists a merge sort algorithm using the fork-join mechanism, in which he ...
1
© 2022 - 2024 — McMap. All rights reserved.