Details
-
Bug
-
Resolution: Fixed
-
P2
-
21
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8316919 | 21.0.2 | Man Cao | P2 | Closed | Fixed | b02 |
Description
```
buf = (void *)((char *)buf + nBytes);
```
should be
```
buf = (void *)((char *)buf + res);
```
We observed that in JDK 21, heap dump corruption observed in
Attachments
Issue Links
- backported by
-
JDK-8316919 os::write incorrectly handles partial write
- Closed
- relates to
-
JDK-8303937 Corrupted heap dumps due to missing retries for os::write()
- Resolved
-
JDK-8303942 os::write should write completely
- Resolved
- links to
-
Commit openjdk/jdk21u/ea00fcab
-
Commit openjdk/jdk/7ce5bd15
-
Review openjdk/jdk21u/176
-
Review openjdk/jdk/15808
(2 links to)