-
Bug
-
Resolution: Fixed
-
P4
-
24, 25
-
b17
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8355086 | 24.0.2 | Sendao Yan | P4 | Resolved | Fixed | b04 |
GrowableArray's c-heap allocate() does not check initial max size == 0 and calls os::malloc(0), which malloc 1 byte. After the array expands, it leaks the byte.
- backported by
-
JDK-8355086 Small memory leak when create GrowableArray with initial size 0
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk24u/f2cca13a
-
Commit(master) openjdk/jdk/b80b04d7
-
Review(master) openjdk/jdk24u/192
-
Review(master) openjdk/jdk/24341