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

Andrea Aime andrea.aime at geo-solutions.it
Sun Apr 7 19:11:18 UTC 2013

On Fri, Apr 5, 2013 at 4:32 PM, Laurent Bourgès
<bourges.laurent at gmail.com>wrote:

> Dear all,
> Here is my first pisces (beta) patch (webrev):
> http://jmmc.fr/~bourgesl/share/java2d-pisces/webrev-1/
> I succeed in fixing memory usage by having only 1 pisces instance
> (Renderer, stroker, iterator ...) per RendererContext (GC friendly).
> Impressive results between small and large drawings:

Good stuff. Is there anything I can do to help? I do have an up to date
version of JDK 8 sources on my disk, maybe I could
try to apply the patch and take it for a spin in a real GeoServer and see
how it goes.

By the way, wondering, is there any other benchmark to try out?
A possibly interesting one is this, where the author re-coded some selected
methods of Graphics2D for maximum performance
(but sometimes lower antialiasing quality) and created a applet to compare
the results in a number of synthetic test cases:


Our support, Your Success! Visit http://opensdi.geo-solutions.it for more

Ing. Andrea Aime
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20130407/5a7a8ded/attachment.html>

More information about the 2d-dev mailing list