[8u] RFR: 8129419: heapDumper.cpp: assert(length_in_bytes > 0) failed: nothing to copy

Andreas Eriksson andreas.eriksson at oracle.com
Thu Jan 28 17:36:40 UTC 2016


Hi,

Please review this backport of JDK-8129419 
<https://bugs.openjdk.java.net/browse/JDK-8129419>.

Hotspot webrev: 
http://cr.openjdk.java.net/~aeriksso/8129419/webrev.jdk8.00/hotspot/
JDK webrev: http://cr.openjdk.java.net/~aeriksso/8129419/webrev.jdk8.00/jdk/

There are three changes compared to JDK 9:

1) The hprof parser is in the JDK repo instead of top repo.
Otherwise these changes are the same.

2) On Solaris os::write has some UseVMInterruptibleIO logic that failed 
because it assumed it was called by a JavaThread.
I changed it to skip UseVMInterruptibleIO logic if called by a 
non-JavaThread.

3) The "heap dump file created" message were using sprintf and pragmas 
because of legacy reasons.
Code after the change is the same as JDK 9 code.

Regards,
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20160128/4f8356dd/attachment.html>


More information about the serviceability-dev mailing list