-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b119
-
Verified
The dual-pivot quicksort used for sorting primitive arrays supports an optimization for arrays over a certain threshold, where before performing the quicksort it determines if the array is nearly sorted and if so performs a merge sort.
Optimizations to identify nearly sorted arrays were added withJDK-8080945. However, this contains a bug that incorrectly calculates the runs of ascending, transformed descending, and equal elements. Specifically in certain cases the last run was missing, and the array sub-sequence associated with that last run was not included in the merge sort.
Optimizations to identify nearly sorted arrays were added with
- duplicates
-
JDK-8153815 tools/pack200/BandIntegrity.java failed with AssertionError
-
- Closed
-
-
JDK-8155006 tools/pack200/BandIntegrity.java test failed with: RuntimeException: process failed with non-zero exit
-
- Closed
-
- relates to
-
JDK-8080945 Improve the performance of primitive Arrays.sort for certain patterns of array elements
-
- Resolved
-
-
JDK-8153815 tools/pack200/BandIntegrity.java failed with AssertionError
-
- Closed
-
-
JDK-8154980 Remove intermittent key from test BandIntegrity.java
-
- Closed
-