Java / Concurrent collections
If a synchronized method calls another non-synchronized method, is there a lock on the non-synchronized method?
If you are in a synchronized method, then calls to other methods that are also synchronized by other threads are locked. However calls to non-synchronized methods by other threads are not locked.
More Related questions...