Description
After JDK-8265518, it's possible to replace all variants of checkIndex by Objects.checkIndex/Objects.checkFromToIndex/Objects.checkFromIndexSize in the whole JDK codebase.
Attachments
Issue Links
- relates to
-
JDK-8273585 String.charAt performance degrades due to JDK-8268698
-
- Resolved
-
-
JDK-8272493 Suboptimal code generation around Preconditions.checkIndex intrinsic with AVX2
-
- Resolved
-
-
JDK-8302664 Fix several incorrect usages of Preconditions.checkFromIndexSize
-
- Resolved
-
-
JDK-8276806 Use Objects.checkFromIndexSize where possible in java.base
-
- Resolved
-
-
JDK-8265518 C1: Intrinsic support for Preconditions.checkIndex
-
- Resolved
-
(2 links to)