xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Wolfgang Hoschek <whoschek AT lbl.gov>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] URICache
- Date: Mon, 29 Nov 2004 14:45:15 -0800
I think the URICache in Verifier was very good the way you had it.
The lastet CVS improvement also checks for equals(). I think that's a step back when you look at it from the point of lock contention in multi-threaded environments. You need to keep any work inside static synchronized blocks as brief as possible to avoid lock contention becoming an issue. So I'd happily trade 10% performance improvement for strongly reduced lock contention, leading to much better scalability. The URIs are almost always constants anyway...
Wolfgang.
-
[XOM-interest] URICache,
Wolfgang Hoschek, 11/29/2004
-
Re: [XOM-interest] URICache,
Elliotte Harold, 11/29/2004
- Re: [XOM-interest] URICache, Wolfgang Hoschek, 11/29/2004
-
Re: [XOM-interest] URICache,
Elliotte Harold, 11/29/2004
Archive powered by MHonArc 2.6.24.