-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 21, 22
-
Component/s: tools
-
b07
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8312921 | 21.0.1 | Aleksey Shipilev | P3 | Resolved | Fixed | b04 |
| JDK-8312100 | 21 | Aleksey Shipilev | P3 | Resolved | Fixed | b32 |
Introduced by JDK-8306983. On error path, we do not `delete` the recently allocated `data`.
At least two spots:
https://github.com/openjdk/jdk/blob/0ef03f122866f010ebf50683097e9b92e41cdaad/src/jdk.internal.le/macosx/native/lible/CLibrary.cpp#L193C22-L193C22
https://github.com/openjdk/jdk/blob/0ef03f122866f010ebf50683097e9b92e41cdaad/src/jdk.internal.le/linux/native/lible/CLibrary.cpp#L189
At least two spots:
https://github.com/openjdk/jdk/blob/0ef03f122866f010ebf50683097e9b92e41cdaad/src/jdk.internal.le/macosx/native/lible/CLibrary.cpp#L193C22-L193C22
https://github.com/openjdk/jdk/blob/0ef03f122866f010ebf50683097e9b92e41cdaad/src/jdk.internal.le/linux/native/lible/CLibrary.cpp#L189
- backported by
-
JDK-8312100 Memory leak in Java_jdk_internal_org_jline_terminal_impl_jna_linux_CLibraryImpl_ttyname_1r
-
- Resolved
-
-
JDK-8312921 Memory leak in Java_jdk_internal_org_jline_terminal_impl_jna_linux_CLibraryImpl_ttyname_1r
-
- Resolved
-
- relates to
-
JDK-8306983 Do not invoke external programs when switch terminal to raw mode on selected platforms
-
- Resolved
-
- links to
-
Commit
openjdk/jdk21/49479dbe
-
Commit
openjdk/jdk/43099a85
-
Review
openjdk/jdk21/126
-
Review
openjdk/jdk/14832
(2 links to)