RFR: 8303937: Corrupted heap dumps due to missing retries for os::write()

David Holmes dholmes at openjdk.org
Fri Mar 10 05:11:08 UTC 2023


On Fri, 10 Mar 2023 02:13:22 GMT, Man Cao <manc at openjdk.org> wrote:

> Hi all,
> 
> Could anyone review this fix for heap dump corruption? See https://bugs.openjdk.org/browse/JDK-8303937 for more details.
> 
> Our users reported frequent heap dump corruptions after updating to 11.0.14.1u. We found the root cause is changes from https://bugs.openjdk.org/browse/JDK-8237354.
> 
> -Man

Good catch! There are other users of os::write that also do not allow for short writes - I will file bugs for those.

Thanks.

-------------

Marked as reviewed by dholmes (Reviewer).

PR: https://git.openjdk.org/jdk/pull/12966


More information about the hotspot-runtime-dev mailing list