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

Man Cao manc at openjdk.org
Fri Mar 10 06:59:15 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

Thanks for the reviews and feedback.

> I don't think tier1 and tier2 testing will catch the following two tests. You should run them manually:
> 
> test/jdk/com/sun/management/HotSpotDiagnosticMXBean/DumpHeap.java test/jdk/sun/tools/jmap/BasicJMapTest.java

Tier1, tier2 finished and I manually ran these two tests. All passed.

Will integrate tomorrow morning PST.

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

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


More information about the hotspot-runtime-dev mailing list