I got some problems by using JFX Applications. On my local developing system(Linux) my application got a cpu usage about 0-2%. When I install and run my application on the customer windows vm system, the cpu usage is much higher, about 50-70%. This phenomenon occurs only on a VM System. If i run the application on a local windows system everything runs fine. Therefore i guess it is related to the vm graphic adapter and his configuration. But the customer says there is no graphic adapter configuration available. I researched similar performance problems and I tried some JVM options like:
-Dprism.order=es2,es1,sw,j2d
-Dsun.java2d.opengl=true
-Dprism.vsync=false
-Dprism.forceGPU=true
The option -Dprism.order=es2,es1,sw,j2d reduced the usage under 25%. Still to high but i dont know what else can i do?
Edit: Thanks for the reply. When in run the app without -Dprism.order=es2,es1,sw,j2d i got follwoing message and 70% cpu usage:
D3DPipelineManager: Created D3D9Ex device Direct3D initialization succeeded (X) Got class = class com.sun.prism.d3d.D3DPipeline Initialized prism pipeline: com.sun.prism.d3d.D3DPipeline
When i run the app with the option i got following message and 20% cpu usage:
Prism pipeline name = com.sun.prism.sw.SWPipeline (X) Got class = class com.sun.prism.sw.SWPipeline Initialized prism pipeline: com.sun.prism.sw.SWPipeline