RFR: 8290344: Start/stop displaysync affects performance in metal rendering pipeline

Ajit Ghaisas aghaisas at openjdk.org
Wed Jul 20 11:05:03 UTC 2022


On Fri, 15 Jul 2022 11:32:20 GMT, Alexey Ushakov <avu at openjdk.org> wrote:

> Reuse displaysync thread for subsequent updates

src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLLayer.m line 32:

> 30: #import "MTLSurfaceData.h"
> 31: #import "JNIUtilities.h"
> 32: #define KEEP_ALIVE_INC 4

Why only 4?
Have you experimented with lesser or greater values?

-------------

PR: https://git.openjdk.org/jdk/pull/9512



More information about the client-libs-dev mailing list