Details
-
Type:
Enhancement
-
Status: Resolved
-
Priority:
P4
-
Resolution: Duplicate
-
Affects Version/s: 9
-
Fix Version/s: None
-
Component/s: security-libs
-
Labels:
-
Subcomponent:
-
CPU:generic
-
OS:generic
Description
Suggested patch improves time of AlgorithmDecomposer.decompose by 30%.
Two modifications were done:
1. replace Pattern.split to String.split("/"). For simple 1-char patterns (non proper regexp) String.split is preferable, because of String.split is optimized for them.
2. Hide large set of "SHA" checks under guard condition.
Two modifications were done:
1. replace Pattern.split to String.split("/"). For simple 1-char patterns (non proper regexp) String.split is preferable, because of String.split is optimized for them.
2. Hide large set of "SHA" checks under guard condition.
Attachments
Issue Links
- duplicates
-
JDK-8243585 AlgorithmChecker::check throws confusing exception when it rejects the signer key
-
- Resolved
-