[OpenJDK Rasterizer] Marlin #4

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Oct 2 14:26:17 UTC 2015


On 02.10.15 10:57, Laurent Bourgès wrote:
> Sergey,
>
> I tried your gcc options on my ubuntu 14.4 (v4.8.4) and it is actually
> slightly faster: 10% on my fill ellipse test (450ms vs 490ms).

I tested by your jmh test, and the difference became bigger on 1400 size.

>
> Do you know which gcc compiler and options are used to build  JavaSE EA?
I guess that compiler options in makefile are the same.

plus some default gcc options:
jdk8:
gcc (GCC) 4.3.0 20080428 (Red Hat-8) C compiler version 4.3.0-8)

jdk9:
gcc-4.8.2 - OEL5.5


>
> Moreover, the linux distrib may define default options.
>
> I will try to figure out all compiler options (command line + defaults)
> on my machine.

It is not simple to find an option, which will help for everyone. Two 
options suggested by me is a minimum number from -O3 to get the maximum 
performance, both seems reasonable. Actually if I change the -O2 to 
-O3(OPTIMIZATION := LOW =>> OPTIMIZATION := HIGHEST) performance became 
worse.

>
> What is your build environment ?

Ubuntu 14.04 gcc 4.8.4


-- 
Best regards, Sergey.


More information about the graphics-rasterizer-dev mailing list