JavaFX performance for complex visualisations
swpalmer at gmail.com
Thu Dec 6 12:24:36 PST 2012
On 2012-12-06, at 2:41 PM, Richard Bair <richard.bair at oracle.com> wrote:
> I don't know of any reliable way to give our graphics threads any higher priority. My understanding (and experimentation) with thread priorities in Java is that they are completely ignored.
I don't think that true. At least not on Windows. Though on Windows there are different "classes" or priority, The full range of Java priorities is mapped to a narrow range of the native thread priorities. The highest we could go from the Java side still left room for higher native priorities.
> There is probably some way in native to raise the priority?
There is. We just had to do that in our product because we needed a specific thread to be TIME_CRITICAL thread priority on Windows and possibly have the process be in the REALTIME priority class.
More information about the openjfx-dev