JDK-5057857 : javac performance: 8-10% penalty for using Iterator for empty lists
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: generic
  • Submitted: 2004-06-04
  • Updated: 2004-06-10
  • Resolved: 2004-06-10
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
5.0 b56Fixed
Related Reports
Relates :  
Relates :  
Description
javac performance could be improved about 8-10% simply by creating a single
"empty" iterator object that is always returned by List.iterator() when the
list is empty.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-rc FIXED IN: tiger-rc INTEGRATED IN: tiger-b56 tiger-rc
08-07-2004

PUBLIC COMMENTS ...
08-07-2004

EVALUATION Easy to do; will aim for Tiger. ###@###.### 2004-06-04
04-06-2004