Patches item #922040, was opened at 2004-03-23 22:37 Message generated for change (Comment added) made by maartenc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=316035&aid=922040&group_id=16035
Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Brett (bfinnell) >Assigned to: Maarten Coene (maartenc) Summary: NamespaceCache performance improvement Initial Comment: I have found in my application that I am spending a large amount of time waiting to enter synchronized sections in the NamespaceCache class. Since all we want to do here is only synchronize updates to the cache, a more complex synchronization object can be used to allow unlimited number of readers, but only one writer. Also the new synchronization object will not allow readers while a writer has the lock. Attached is a patch which includes a new file util/ReadWriteLock.java, which is the synchronization object to control readers and writers. The patch also includes updates to tree/NamespaceCache.java to use this new class. ---------------------------------------------------------------------- >Comment By: Maarten Coene (maartenc) Date: 2004-06-04 10:41 Message: Logged In: YES user_id=178745 Added some improvements to CVS code thanks Maarten ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=316035&aid=922040&group_id=16035 ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ dom4j-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-dev