JDK-8091120 : Native PIsces rasterizer is slower on desktop Linux platforms
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2012-08-08
  • Updated: 2017-11-17
  • Resolved: 2017-11-17
Related Reports
Relates :  
Relates :  
Description
For some reason the new native Pisces rasterizer shows no improvement or sometimes regressions when run on desktop Linux platforms.  On all other platforms it shows a healthy improvement.

This is likely due to needing to revise the optimization flags used with the gcc compiler.  For now the default on non-embedded Linux is to use the Java version until we fix these performance problems.
Comments
As Pisces was removed in OpenJDK 10, this issue is no more valid.
17-11-2017

Recently the native rasterizer is faster on my Macbook Pro running Ubuntu 14.04 so we could probably flip the switch for all platforms, but Marlin looks like it would be faster still if we can leverage it between the Java2D module and the JavaFX rendering pipelines.
19-10-2016

JIT C2 compiler rocks : that's why the Marlin renderer is java only to take benefit from hotspot (SSE...) and is very fast on linux or 64bits machines. I am experimenting Marlin for JavaFX ... to evaluate the potential gains. Maybe you should compile the native pisces with gcc vectorization enabled.
06-10-2016

I can also reproduce the difference on Windows if I run java -server and that resolves the mystery as server appears to be the default for java on Linux. Java compiled code is heavy with SSE instructions on Linux - something we probably can't afford with static native code which is to run on any x86 machine.
15-03-2013

I'm able to reproduce the problem on Linux sc14ic06 3.2.0-37-generic-pae #58-Ubuntu SMP Thu Jan 24 15:51:02 UTC 2013 i686 i686 i386 GNU/Linux For GUIMark2.VectorTest I get -Djavafx.animation.fullspeed=true -Dprism.nativepisces=true: 24.86 FPS -Djavafx.animation.fullspeed=true -Dprism.nativepisces=false: 30.72 FPS
15-03-2013