JDK-8304659 : Dispose MTLContext and related native resources
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: internal
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2023-03-21
  • Updated: 2023-03-21
  • Resolved: 2023-03-21
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
In current Metal pipeline code in jfx-sandbox - MTLContext is created and initialized, but it is never disposed.
Add code to dispose MTLContext object and related native resources.
Comments
Changeset: 02037aad Author: aghaisas <ajitgh@gmail.com> Date: 2023-03-21 18:07:41 +0000 URL: https://git.openjdk.org/jfx-sandbox/commit/02037aad237e9e25b7176ab3c82d00ad730a5e1b
21-03-2023