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

Chris Plummer cjplummer at openjdk.org
Fri Mar 10 02:43:11 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

Looks good. What type of testing have you done? If you grep in the test directory for `HprofParser`, you can find the tests you should be running. You can ignore the sa tests.

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

Marked as reviewed by cjplummer (Reviewer).

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


More information about the hotspot-runtime-dev mailing list