Uncontended locking in recent JVMs is relatively cheap... it had to be made cheap given how much synchronization (much of it unneeded) goes on in Java's standard libs.
As long as the synchronized operation is relatively quick and relatively infrequent, there shouldn't be much contention and hence not much overhead. -Yonik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]