Details
-
Type:
Enhancement
-
Status: Resolved
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 12
-
Component/s: security-libs
-
Subcomponent:
-
Resolved In Build:b17
-
OS:windows
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8235935 | 11.0.7-oracle | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
JDK-8236260 | 11.0.7 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
Description
When requested length > 0 this method first allocates native memory block, then allocated another Java-array of the same size and copies the content.
Instead, the Java array memory could be manipulated directly, which would avoid extra memory allocation and copying.
Instead, the Java array memory could be manipulated directly, which would avoid extra memory allocation and copying.
Attachments
Issue Links
- backported by
-
JDK-8235935 Avoid native memory allocation in sun.security.mscapi.PRNG.generateSeed
-
- Resolved
-
-
JDK-8236260 Avoid native memory allocation in sun.security.mscapi.PRNG.generateSeed
-
- Resolved
-