Re: [OpenJDK 2D-Dev] sun.java2D.pisces big memory usage (waste ?)

2013-03-29 Thread Jim Graham
Other thoughts - using chained buckets of edges instead of one single long list. It would be easier to keep a pool of buckets (each holding, say, 256 edges?) than a "one-size-fits-all" pool of arrays. Then all you have to do is keep high water marks on the number of simultaneously used bucket

Re: [OpenJDK 2D-Dev] sun.java2D.pisces big memory usage & Dasher clipping problem

2013-03-29 Thread Jim Graham
J2DBench does not have a regression test mode unfortunately. Clipping in the stroker and dasher is doable, but it is complicated by the fact that stroking adds decorations that are not always easy to account for. Round joins and end caps are easy - they "grow" the path by exactly half the line

Re: [OpenJDK 2D-Dev] [8] Review request for 8007642: Media Names on Java Print Do Not Match the Printer's and Confuse Users

2013-03-29 Thread Jennifer Godinez
Hi Anton, What printer and printer driver version did you use to test your fix? Thanks. Jennifer On 3/11/2013 1:41 AM, Anton Litvinov wrote: Hello, Please review the following fix. This is the second reminder message. Please take into account that the original review request was sent more t

Re: [OpenJDK 2D-Dev] [8] Request for review: 8000629 [macosx] Blurry rendering with Java 7 on Retina display

2013-03-29 Thread Phil Race
I've been trying out the patch - using quartz debug, since I don't have a retina display. Aside from occasional artifacts in theSwing controls which may well be code there that doesn't handle this case well, the only pure 2D thing that I noticed was the Texture Paint demos in Java2Demo don't s

Re: [OpenJDK 2D-Dev] sun.java2D.pisces big memory usage (waste ?)

2013-03-29 Thread Laurent Bourgès
Andrea, It could be very interesting if you could provide some concrete example about your map server: typical image height / width, shape complexity (number, size, path sizes ...). Ideally if you could write a test class (sample) computing a single image it would be very helpful for me to compar

Re: [OpenJDK 2D-Dev] sun.java2D.pisces big memory usage (waste ?)

2013-03-29 Thread Andrea Aime
On Thu, Mar 28, 2013 at 9:49 PM, Phil Race wrote: > At the same time, the current decision is affecting some applications >> badly. >> I've seen the same happening for another old java2d bug, where the alpha >> tile is cached and coordinated with JVM synchronized statement that kill >> scalabilit

Re: [OpenJDK 2D-Dev] sun.java2D.pisces big memory usage (waste ?)

2013-03-29 Thread Laurent Bourgès
Phil, I agree it is a complex issue to improve memory usage while maintaining performance at the JDK level: applications can use java2d pisces in very different contexts: Swing app (client with only EDT thread), server-side application (multi thread headless) ... For the moment, I spent a lot of

Re: [OpenJDK 2D-Dev] sun.java2D.pisces big memory usage & Dasher clipping problem

2013-03-29 Thread Laurent Bourgès
Phil, could you give me your opinion on the clipping issue pointed here: > > *Besides, I found an important bug in pisces Stroker / Dasher: it does > not use the clip region given to PiscesRenderingEngine.** > getAATileGenerator(clip). > > In Aspro2, I can zoom on jFreeChart plots a lot and it dr