Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8342379

Release managed texture resource appropriately using disposer

XMLWordPrintable

    • generic
    • os_x

      While debugging for https://bugs.openjdk.org/browse/JDK-8339722 i noticed that when we jump from one sample to another in Ensemble8 our memory footprint increases.
      Instruments->Allocations show that majority of live objects are MetalTextures. Attached image for the same.

      We have appropriate dispose() logic for textures but i don't see them getting called all the time.

            jdv Jayathirth D V
            jdv Jayathirth D V
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: