bug-classpath
[Top][All Lists]
Advanced

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

[Bug swing/26368] Possible memory leak in GapContent


From: cvs-commit at developer dot classpath dot org
Subject: [Bug swing/26368] Possible memory leak in GapContent
Date: 17 May 2006 16:31:27 -0000


------- Comment #3 from cvs-commit at developer dot classpath dot org  
2006-05-17 16:31 -------
Subject: Bug 26368

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Roman Kennke <address@hidden>        06/05/17
16:28:34

Modified files:
        javax/swing/text: GapContent.java 
        .              : ChangeLog 

Log message:
        2006-05-17  Roman Kennke <address@hidden>

        PR 26368
        * javax/swing/text/GapContent.java
        (GapContentPosition): Do no more implement Comparable.
        (GapContentPosition.mark): Removed field.
        (GapContentPosition.index): New field to hold the index into
        the positions array.
        (GapContentPosition(int)): Rewritten to use the new indirection
        to the positions array.
        (GapContentPosition.compareTo): Removed.
        (GapContentPosition.getOffset): Synchronized. Fetch mark from
        positionMarks array.
        (WeakPositionComparator): Removed obsolete class.
        (positions): Changed type to WeakHashMap.
        (positionMarks): New field, holds the marks of the positions.
        (GapContent): Initialize new fields.
        (createPosition): Rewritten to use the new indirection
        to the positions array.
        (getPositionsInRange): Rewritten to use the new indirection
        to the positions array.
        (setPositionsInRange): Rewritten to use the new indirection
        to the positions array.
        (adjustPositionsInRange): Rewritten to use the new indirection
        to the positions array.
        (insertMark): New helper method.
        (clearPositionReferences): Removed obsolete methods.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/GapContent.java.diff?tr1=1.46&tr2=1.47&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.7458&tr2=1.7459&r1=text&r2=text


-- 


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





reply via email to

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