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

Memory Leak in MTLBlitLoops_CopyArea() method

XMLWordPrintable

    • 2d
    • x86_64
    • os_x

      MTLBlitLoops_CopyArea() method uses an intermediate buffer to copy from src to dst.
      This intermediate buffer gets created on every scroll event. This buffer is in @autorelease block, but does not get released. This causes memory leak.

      Solution :
      We need to mark it as autorelease after allocation.

            aghaisas Ajit Ghaisas
            aghaisas Ajit Ghaisas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: