commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] [bugs #12304] AWT code leaks native local references


From: anonymous
Subject: [commit-cp] [bugs #12304] AWT code leaks native local references
Date: Sun, 13 Mar 2005 19:38:16 +0000
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.6) Gecko/20050306 Firefox/1.0.1 (Debian package 1.0.1-2)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12304>

                 Summary: AWT code leaks native local references
                 Project: classpath
            Submitted by: None
            Submitted on: Sun 03/13/2005 at 19:38
                Category: None
                Severity: 5 - Average
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

In gnu_java_awt_peer_gtk_GdkPixbufDecoder.c



 198 static void

 199 query_formats (JNIEnv *env, jclass clazz)

...



query_formats does acquire many local references from the JVM in a loop, yet
it does not release them at the end of the loop body.



See http://java.sun.com/docs/books/jni/html/pitfalls.html#11229










    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12304>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]