JDK-7192383 : vectorize sum of arrays's elements loop
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs23,9,10
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2012-08-17
  • Updated: 2019-10-12
  • Resolved: 2019-10-12
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
tbdResolved
Related Reports
Duplicate :  
Relates :  
Description
Changes for 6340864 (add vectorized arithmetic) will not vectorize sum of arrays's elements loop:

int x = 0;
int[] a = new int[10000];
for(int i=0; i < a.length; i++) {
  x += a[i];
}

This RFE is filed to implement it.

Comments
Addressed by JDK-8074981.
12-10-2019