|
From: | cvs-commit at developer dot classpath dot org |
Subject: | [Bug swing/26368] Possible memory leak in GapContent |
Date: | 21 Feb 2006 23:29:05 -0000 |
------- Comment #1 from cvs-commit at developer dot classpath dot org 2006-02-21 23:29 ------- Subject: Bug 26368 CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Roman Kennke <address@hidden> 06/02/21 11:29:18 Modified files: javax/swing/text: GapContent.java . : ChangeLog Log message: 2006-02-21 Roman Kennke <address@hidden> PR classpath/26368 * javax/swing/text/GapContent.java (GapContentPosition): Made class private. (InsertUndo): Made class private. (UndoRemove): Made class private. (WeakPositionComparator): New inner class. (positions): Made field private. (createPosition): Clear up GC'ed positions before creating a new one. Store position as WeakReference. (getPositionsInRange): Changed to handle WeakReference positions. (setPositionsInRange): Changed to handle WeakReference positions. (adjustPositionsInRange): Changed to handle WeakReference positions. (dumpPositions): Handle WeakReference positions. (clearPositionReferences): New method. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/GapContent.java.diff?tr1=1.39&tr2=1.40&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6472&tr2=1.6473&r1=text&r2=text -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26368
[Prev in Thread] | Current Thread | [Next in Thread] |