News for hackers. Stuff that matters.
Re:Things you didn't know about multithreaded programming by ddlatham on Tuesday November 09, 2010 @10:48AM (#1886779)
Synchronized methods and blocks generate different bytecode, but according to the spec, have "exactly the same effect".

http://java.sun.com/docs/books/jls/third_edition/html/classe...

http://stackoverflow.com/questions/417285/equivalent-code-fo...

There are no comments on this comment yet.