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

[macosx] Native memory leaks.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • client-libs
    • b15
    • os_x

      In many places we over retain objects so they are leaking. This could be tracked by adding a log to CFRetainedResourse which would display all objects that have reference count > 1. The leak is very big, so it's a high priority issue.

      Also in a number of places we use the following pattern:
      CGRetain(obj);
      if (obj != null) [obj release];

      This is not needed and could be removed.

            pchelko Petr Pchelko (Inactive)
            pchelko Petr Pchelko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: