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

Chris Plummer cjplummer at openjdk.org
Fri Mar 10 03:50:10 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

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

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

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


More information about the hotspot-runtime-dev mailing list