JDK-8311941 : Avoid intermediate array copy during copying rtt data to UploadingPainter
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: internal
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2023-07-12
  • Updated: 2023-07-12
  • Resolved: 2023-07-12
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
- Avoid intermediate array copy during copying rtt data to UploadingPainter
- Comment out MTLLog.Debug() statements from methods that are invoked multiple times during RenderPerfTest - this improves memory usage shown in JMC as it avoids StringBuilder creation used internally during formatting of the debug string
- Make MTLRTTexture isVolatile() return false - as equivalent to ES2
Comments
Before Fix: RenderPerfTest results ---------------------------------------------- Image (Objects Frames FPS), 100, 279, 27.852 Circle (Objects Frames FPS), 40000, 132, 13.186 Rectangle (Objects Frames FPS), 40000, 50, 4.910 WhiteText (Objects Frames FPS), 100, 293, 29.264 LargeText (Objects Frames FPS), 100, 49, 4.886 LinGradCircle (Objects Frames FPS), 500, 107, 10.646 Button (Objects Frames FPS), 100, 50, 4.905 After Fix : RenderPerfTest results --------------------------------------------- Image (Objects Frames FPS), 100, 461, 46.094 Circle (Objects Frames FPS), 40000, 168, 16.722 Rectangle (Objects Frames FPS), 40000, 55, 5.475 WhiteText (Objects Frames FPS), 100, 445, 44.486 LargeText (Objects Frames FPS), 100, 53, 5.279 LinGradCircle (Objects Frames FPS), 500, 122, 12.142 Button (Objects Frames FPS), 100, 53, 5.263
12-07-2023

Changeset: 42270143 Author: aghaisas <ajitgh@gmail.com> Date: 2023-07-12 17:31:03 +0000 URL: https://git.openjdk.org/jfx-sandbox/commit/422701431c47cb268e189660787b808171a4cc51
12-07-2023