RFR: JDK-8306441: Two phase segmented heap dump [v20]
Yi Yang
yyang at openjdk.org
Sat Jul 29 03:42:57 UTC 2023
On Fri, 28 Jul 2023 17:18:05 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
> I think we might be best off leaving the long dump as you have it in the AttachListener for now. 8-)
Consideing a very large heap size, the VM used to pause all threads and spend 1 hour to execute a heap dump, during which time jcmd/jstack and even the entire system were unresponsive. Now, the VM spends only 1 minute pausing all threads to execute the heap dump, and then only pauses the attach listener/vm thread and spends 1 hour merging files. For the attach listener, its total time remains unchanged.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13667#issuecomment-1656540922
More information about the serviceability-dev
mailing list