JDK-8329678 : Remove [CommandBuffer waitUntilCompleted] call
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: internal
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2024-04-04
  • Updated: 2024-07-06
  • Resolved: 2024-06-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
internalFixed
Description
The [CommandBuffer waitUntilCompleted] call is a blocking call that blocks the calling thread and effectively reduces the generation of commands.
This call should be removed and an appropriate notification call should be added to notify Prism/Glass when CommandBuffer is completed so that the ready frame is displayed.
Comments
Changeset: f55f2721 Author: Ambarish Rapte <arapte@openjdk.org> Date: 2024-06-25 12:34:34 +0000 URL: https://git.openjdk.org/jfx-sandbox/commit/f55f27214377ff7c0fd16dc3800ff318b1b7962c A good performance gain is observed across several tests, After this change: 17 tests >= 100% of es2 (before 4) 03 tests >= 95% of es2 (before 1) 04 tests >= 90% of es2 (before 6) 08 tests >= 80% of es2 (before 13) 05 tests < 80% of es2 (before 13)
26-06-2024