diff options
author | Alexey Ushakov <Alexey.Ushakov@jetbrains.com> | 2017-11-15 22:05:24 +0300 |
---|---|---|
committer | Alexey Ushakov <Alexey.Ushakov@jetbrains.com> | 2017-11-15 22:05:24 +0300 |
commit | 5762188776dc3d425e3fe0ada1015bfdfcade154 (patch) | |
tree | dce8e5c241564a5018d93d88935cb583e1109dfb /src/macosx | |
parent | 80f0ceead8c5f475486b3a76de7c15e8f0462392 (diff) | |
download | jdk8u_jdk-5762188776dc3d425e3fe0ada1015bfdfcade154.tar.gz |
JRE-578 OGLRenderQueue.flushNow() executes too many times
Aligned flushNow to predefined time threshold in order to decrease frequency of the operation
Diffstat (limited to 'src/macosx')
-rw-r--r-- | src/macosx/classes/sun/lwawt/LWComponentPeer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macosx/classes/sun/lwawt/LWComponentPeer.java b/src/macosx/classes/sun/lwawt/LWComponentPeer.java index 66fa8276c6..592060986e 100644 --- a/src/macosx/classes/sun/lwawt/LWComponentPeer.java +++ b/src/macosx/classes/sun/lwawt/LWComponentPeer.java @@ -1426,7 +1426,7 @@ public abstract class LWComponentPeer<T extends Component, D extends JComponent> final OGLRenderQueue rq = OGLRenderQueue.getInstance(); rq.lock(); try { - rq.flushNow(); + rq.flushNow(false); } finally { rq.unlock(); } |