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

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: http://www.randelshofer.ch/oop/graphics/

Cheers Andrea

--

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

Ing. Andrea Aime @geowolf Technical Lead

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

http://www.geo-solutions.it http://twitter.com/geosolutions_it




More information about the core-libs-dev mailing list