[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    [OpenJDK 2D-Dev] hg: jdk8/2d/jdk: 7104147: the fix for cr6887286 was not appropriate	for backporting
From:       poonam.bajaj () oracle ! com (poonam ! bajaj at oracle ! com)
Date:       2012-03-22 2:06:51
Message-ID: 20120322020725.25D5547AB3 () hg ! openjdk ! java ! net
[Download RAW message or body]

Changeset: da54364b140c
Author:    dbuck
Date:      2012-03-21 18:41 -0700
URL:       http://hg.openjdk.java.net/jdk8/2d/jdk/rev/da54364b140c

7104147: the fix for cr6887286 was not appropriate for backporting
Summary: Memory leak in the list of ImageObservers watching an object. We use \
recursion to iterate over the list. So once the list gets too big, we overflow the \
stack. Fix is to execute a prune operation on ever add, so there is no way we can get \
                indefinite growth of stale nodes.
Reviewed-by: prr, flar

! src/share/classes/sun/awt/image/ImageWatched.java
+ test/sun/awt/image/ImageWatched/AddNoLeak.java


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic