[PATCH] JMC-6082: JOverflow does not handle large heap dumps well

Arvin Kangcheng Xu kxu at redhat.com
Fri Jul 12 20:50:21 UTC 2019


Hello all,

This patch addresses JMC-6082 (JOverflow does not handle large
heap dumps well) [0].

The problem: the dump file is closed prematurely after only a part of
the file content is pre-fetched into the cache. In case of cache
misses, subsequent reads from an already-closed file will result in a
stream closed exception.

Please see the attached patch, and let me know your thoughts. Thank
you very much!

Regards,
Kangcheng

[0] https://bugs.openjdk.java.net/browse/JMC-6082
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jmc-6082.patch
Type: text/x-patch
Size: 1136 bytes
Desc: not available
URL: <https://mail.openjdk.java.net/pipermail/jmc-dev/attachments/20190712/6111d9f9/jmc-6082.patch>


More information about the jmc-dev mailing list