Javamex

Java discussion forum to accompany the Javamex web site.

Discussion of medium to advanced level topics of Java programming, including Java performance, in association with the Javamex web site.

Latest Activity

test is now a member of Javamex
Oct 12, 2012
Vidhya Rana updated their profile
Sep 15, 2012
Java-Training is now a member of Javamex
Sep 12, 2012
A discussion started by Neil Coffey was featured

THIS FORUM IS MOVING!

This forum will shortly be retired.From now on, please use the new Javamex forums located here:http://www.forum.javamex.com/See More
Aug 19, 2012
Profile IconKarteek, vivek sharma and chandan prakash joined Javamex
Jun 6, 2012
Neil Coffey replied to Neil Coffey's discussion THIS FORUM IS MOVING!
"Sorry, you'll need to register again on the new forum!"
Apr 15, 2012
Will martin replied to Neil Coffey's discussion THIS FORUM IS MOVING!
"Hi Neil: Just joined last night and successfully logged in here, ...ning.com   following the link above led to a request to relogin and its not working. Not much of an issue yet....but thought I'd pass it on. regards will"
Apr 15, 2012
Neil Coffey posted a discussion

THIS FORUM IS MOVING!

This forum will shortly be retired.From now on, please use the new Javamex forums located here:http://www.forum.javamex.com/See More
Apr 15, 2012
Will martin is now a member of Javamex
Apr 15, 2012
Pallav Shyam replied to Pallav Shyam's discussion lock.lock v/s synchronized
"Hi Neil, Thanks for the quick reply. Maybe I was not very explicit in my message. I am made to understand that lock.lock behaves exactly the same as synchronized on the lock object. which means if synchronized acquires the object monitor, so does…"
Apr 12, 2012
Neil Coffey replied to Pallav Shyam's discussion lock.lock v/s synchronized
"Welcome to a slightly confusing feature of Locks. If you use one of the explicit Lock classes such as ReentrantLock, then the method you call is called await()-- notice the "a" at the beginning-- rather than the wait() method (which still…"
Apr 12, 2012
Pallav Shyam posted a discussion

lock.lock v/s synchronized

The thread calling synchronzed(obj) acquires and owns that objects monitor till it releases it. Does lock.lock also behaves in a similar fashion. I tried calling lock.wait() after lock.lock() using an instance of ReentrantLock and the code gave me IllegalMonitorStateException.See More
Apr 12, 2012
Javin Paul posted a discussion

How to setup JProfiler ?

How to setup JProfiler ?See More
Apr 12, 2012
Pallav Shyam liked Pallav Shyam's discussion notify vs notifyall
Apr 12, 2012
happy goofy replied to Pallav Shyam's discussion notify vs notifyall
"I ran this in Solaris. When the waiting dead lock happens, press ctl+\.  (SIGQUIT, 3).  On Windows, try ctl + break. This problem may result if the program creates say 5 producers and 1 consumer, and each can wake up just one other thread,…"
Apr 11, 2012
Pallav Shyam replied to Pallav Shyam's discussion notify vs notifyall
"Hi Goofy, Good explaination. This is certainly not the deadlock scenario we generally talk about.  By the way, how did you produce the thread trace which shows very clearly the state of each thread. Thanks, Pallav "
Apr 11, 2012
 
 
 

© 2016   Created by Neil Coffey.   Powered by

Report an Issue  |  Terms of Service