[OpenJDK Rasterizer] AWT & gcc 4.8 optimization options

Laurent Bourgès bourges.laurent at gmail.com
Fri Oct 16 07:00:55 UTC 2015


Sergey,

Could you please fill a new bug related to the libawt compilation on linux ?

As it concerns awt and not only Marlin, I would prefer to let you or
anybody else handle this issue.

To sum up:
We observed performance loss between jdk8 and jdk9 on Maskfill (c software
loops).

I provided the EllipseFill test (jmh) and you provided a patch to gcc
compiler options:
CFLAGS := -fgcse-after-reload -ftree-vectorize $(CFLAGS_JDKLIB)
$(LIBAWT_CFLAGS), \

See discussion:
http://mail.openjdk.java.net/pipermail/graphics-rasterizer-dev/2015-October/000332.html

I confirmed it improved performance ~10% on my machine i7-4800 (amd64
linux) that is comparable to jdk8 performance.

Regards,
Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/graphics-rasterizer-dev/attachments/20151016/cda68ad6/attachment.html>


More information about the graphics-rasterizer-dev mailing list