Hi,

I am currently profiling a server-side application which generates images based 
on a SVG document. The image has roughly 1500 points which are displayed using 
a symbol stored in a GIF image.

The profiling test uses 15 clients, requesting exactly the same image on the 
server.

JProfiler shows that the 15 threads are blocked most of the times. Further 
investigations show that they need a lock somewhere in Graphics2D.drawImage.

If we return only the SVG document to the client (i.e. we bypass the image 
generation) all goes well.

Does anyone already experienced this? Anyone has reccomendations or tips&tricks 
regarding the server-side generation of images in multithread?

Tested with JDK 1.4.2, 1.5 and 1.6

Thanks,
Stéphane
[Message sent by forum member 'stephanenicoll' (stephanenicoll)]

http://forums.java.net/jive/thread.jspa?messageID=188043

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to