[8u] RFR: 8129419: heapDumper.cpp: assert(length_in_bytes > 0) failed: nothing to copy
Dmitry Samersoff
dmitry.samersoff at oracle.com
Wed Feb 10 17:38:21 UTC 2016
Andreas,
Looks good for me!
-Dmitry
On 2016-01-28 20:36, Andreas Eriksson wrote:
> 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
--
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.
More information about the serviceability-dev
mailing list