Return-Path: Delivered-To: apmail-xml-batik-dev-archive@xml.apache.org Received: (qmail 32134 invoked by uid 500); 19 Feb 2002 12:39:03 -0000 Mailing-List: contact batik-dev-help@xml.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: batik-dev@xml.apache.org Delivered-To: mailing list batik-dev@xml.apache.org Received: (qmail 32117 invoked from network); 19 Feb 2002 12:39:02 -0000 X-Authentication-Warning: fenwick.image.kodak.com: deweese set sender to deweese@image.kodak.com using -f From: Thomas E Deweese MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15474.18276.937848.707595@gargle.gargle.HOWL> Date: Tue, 19 Feb 2002 07:39:00 -0500 To: batik-dev@xml.apache.org Subject: Re: static/threading problem with SVGFontUtilities In-Reply-To: <3C7222EC.7DEA471E@sun.com> References: <3C7222EC.7DEA471E@sun.com> X-Mailer: VM 6.95 under Emacs 20.5.1 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >>>>> "VH" == Vincent Hardy writes: VH> Keiron, I have entered a Bug in Bugzilla so that we can address VH> the problem you reported: VH> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6536 VH> The memory leak is a real concern. VH> The multi-thread problem is also a concern, but note that Batik is VH> usually not thread safe (e.g., the SVG generator is not) in the VH> sense that a single instance of a given class cannot be share VH> (usually) among threads and work properly (at least, there is no VH> guarantee it will). Just a clarification. The problem is that loading/rendering multiple SVG documents in different threads causes the problem. I think we agree that multiple threads operating on the same document is allowed to cause problems, but I had we not agreed that it should be "as if" all Batik data is within the scope of a single Document (i.e. anything that is shared between documents needs to be multi-thread safe, such as this font cache or my tile rendering cache). VH> There are points of synchronization where multiple threads are VH> used but not everything is thread safe. VH> We'll look into fixing both the static reference and the VH> multi-tread issue. --------------------------------------------------------------------- To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org For additional commands, e-mail: batik-dev-help@xml.apache.org