RE: why LinkedBlockingQueue#poll(int, TimeUnit) is hanging up?

2012-09-10 Thread Iris Clark
Forwarding to core-libs-dev. iris -Original Message- From: Yegor Bugayenko [mailto:e...@technoparkcorp.com] Sent: Monday, September 10, 2012 5:52 AM To: jdk7-...@openjdk.java.net Subject: why LinkedBlockingQueue#poll(int, TimeUnit) is hanging up? I already posted the question here:

RE: why LinkedBlockingQueue#poll(int, TimeUnit) is hanging up?

2012-09-10 Thread Vitaly Davidovich
To eliminate one specific possibility/bug, see if it repros with -XX:+UseMembar Sent from my phone On Sep 10, 2012 2:00 PM, Iris Clark iris.cl...@oracle.com wrote: Forwarding to core-libs-dev. iris -Original Message- From: Yegor Bugayenko [mailto:e...@technoparkcorp.com] Sent:

Re: why LinkedBlockingQueue#poll(int, TimeUnit) is hanging up?

2012-09-10 Thread Aleksey Shipilev
Not enough data, really. Can we see the complete reproducing test? Also, you can try to -Xbootclasspath/p:jsr166.jar [1] to Oracle Java 1.6 (which update?) mentioned there, and see if the bug reproduces with the fresh revision of JSR166. Thanks, Aleksey. [1]

Re: why LinkedBlockingQueue#poll(int, TimeUnit) is hanging up?

2012-09-10 Thread David Holmes
This kind of issue is better discussed, at least initially on Doug Lea's concurrency interest list: concurrency-inter...@cs.oswego.edu The stack shows that it is the lock acquisition that is blocking indefinitely, not the poll itself. That is why it doesn't time out and why it hangs again

Re: why LinkedBlockingQueue#poll(int, TimeUnit) is hanging up?

2012-09-10 Thread Vitaly Davidovich
Symptoms here are eerily similar to http://bugs.sun.com/view_bug.do?bug_id=6822370, hence I'm curious if it still repros with -XX:+UseMembar. Sent from my phone On Sep 10, 2012 8:45 PM, David Holmes david.hol...@oracle.com wrote: This kind of issue is better discussed, at least initially on

Re: why LinkedBlockingQueue#poll(int, TimeUnit) is hanging up?

2012-09-10 Thread David Holmes
On 11/09/2012 11:43 AM, Vitaly Davidovich wrote: Symptoms here are eerily similar to http://bugs.sun.com/view_bug.do?bug_id=6822370, hence I'm curious if it still repros with -XX:+UseMembar. Always an interesting question to ask but 6822370 was fixed in 7 and this is reported in 7u5. We