JDK-7104151 : Replace recursion to iterate over ImageObservers in ImageWatched with a non-recursive code
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 8,9
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2011-10-24
  • Updated: 2018-09-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
During evaluating possible fixes for cr6887286 (and cr7104147), we realized that the curent implimentation is not ideal. On principle, we should never use recursion to iterate over a list whose size is unbound (and under the influence of the Java application).

This CR is to track the reimplementation of this code. Our main goal is to remove recursion from this code to reduce the risk of a SOFE. Secondary goals include making the code easier to understand and maintain. A very important requirement of any change is that it is thread safe.