Re: [OpenJDK 2D-Dev] RFR 6870661 : Setting a custom PrintService on a PrinterJob leads to a PrinterException

2013-06-17 Thread Phil Race
The superclass does check that the service will (claims to) support printable/pageable. I've looked at what we did in the implementation when it comes to print which is that for such a custom service we implicitly head it off to the javax.print API so it probably could work. But the dialog c

Re: [OpenJDK 2D-Dev] RFR 6870661 : Setting a custom PrintService on a PrinterJob leads to a PrinterException

2013-06-17 Thread Patrick Reinhart
Hi Phil, What irritates me though is the fact, that there is no check for the support/not support of 2D printing and also that the PrinterException does not reflect the described cases of the spec: java.awt.print.PrinterException: Invalid name of PrintService. I can not see any relation to o

Re: [OpenJDK 2D-Dev] RFR 6870661 : Setting a custom PrintService on a PrinterJob leads to a PrinterException

2013-06-17 Thread Phil Race
Patrick, The spec. for PrinterJob.setPrintService() says :- *Throws:* |PrinterException | - if the specified service does not support 2D printing, or this PrinterJob class does not support setting a 2D

[OpenJDK 2D-Dev] hg: jdk8/2d/jdk: 8015334: Memory leak when kerning is used on Windows.

2013-06-17 Thread philip . race
Changeset: c636942a28ef Author:prr Date: 2013-06-17 10:34 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/c636942a28ef 8015334: Memory leak when kerning is used on Windows. Reviewed-by: srl, bae ! src/share/native/sun/font/layout/KernTable.cpp ! src/share/native/sun/font/layo

Re: [OpenJDK 2D-Dev] sun.java2D.Pisces renderer Performance and Memory enhancements

2013-06-17 Thread Laurent Bourgès
Jim, I think I found the source of the 'poor' quality of line rendering: the alpha coverage is only computed for the 2 sub pixels (x0, x1) at the current x-coordinate of an edge ie it does not take into account the span of a line having a very flat slope: for (i = 0, sum = 0, prev

Re: [OpenJDK 2D-Dev] New GeoServer benchmarks with Laurent's l4 webrev

2013-06-17 Thread Andrea Aime
On Mon, Jun 17, 2013 at 1:40 PM, Laurent Bourgès wrote: > Andrea, > thanks for your time testing my patch in a real benchmark ! > > I think that the ratio of pisces rendering / request processing is very > low (few percents) that's why the performance gains between L1 and L4 are > so little. > > H

Re: [OpenJDK 2D-Dev] New GeoServer benchmarks with Laurent's l4 webrev

2013-06-17 Thread Laurent Bourgès
Andrea, thanks for your time testing my patch in a real benchmark ! I think that the ratio of pisces rendering / request processing is very low (few percents) that's why the performance gains between L1 and L4 are so little. How many cpu cores have your machine ? > As you can see L1 provides mo