lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <ysee...@gmail.com>
Subject Re: svn commit: r424449 - /lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java
Date Sat, 22 Jul 2006 16:02:01 GMT
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message