[CRIU] Avoid dumping specific VMA ranges

Rodrigo Bruno rbruno at gsd.inesc-id.pt
Wed Nov 30 01:47:22 PST 2016


Hi all,

I am using CRIU to checkpoint JVMs with heaps > 10GB.

I want to reduce the size of the checkpoint and I know that there are
memory ranges that
although being allocated and touched by the JVM, represent garbage and
could be discarted
when dumping the JVM (don't worry, I can ensure that the JVM is stopped
while running this operation).

Q1. Does CRIU support this?

Q2. Without changing CRIU, is there any way to achieve this? Could I change
a page table entry to force a page with garbage to be mapped to the zero
page?

Thanks in advance!
Rodrigo Bruno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20161130/f4309303/attachment-0001.html>


More information about the CRIU mailing list