>From mjw:
There is a memory leak when rotated text is used a lot (you can see it
in the classpath examples Swing Demo with the ProgressBar). We keep
allocating new FontPeers because the caching logic in
GtkToolkitget.ClasspathFontPeer() cannot see when TransformAttributes
are equal (since TransformAttribute doesn't implement equals() and
hashCode()). And FontPeer calls pango_context_load_fontset () which
seems to leak memory even though we seem to try to g_object_unref () it.

--
Possibly related to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28186 ?


-- 
           Summary: ProgressBar memory leak - pango_context_load_fontset ?
           Product: classpath
           Version: 0.93
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: fkung at redhat dot com
        ReportedBy: fkung at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31539



_______________________________________________
Bug-classpath mailing list
Bug-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-classpath

Reply via email to