>>>>> "VH" == Vincent Hardy <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to