Managing sun.nio.ch.Poller with CRaC
Cleber Muramoto
cleber.muramoto at gmail.com
Mon Apr 15 21:32:45 UTC 2024
Hello!
I am trying to take a checkpoint using zulu's CRaC.
When using VirtualThreads the checkpoint fails because of open file
descriptors created by EPollPoller.
As of now, I think the only possible way to close the FD's is by accessing
the private read/write pollers to fetch the epfd's and manually closing
them. (I tried the jdk.crac.resource-policies but it doesn't seem to pick
up these FDs).
While this works to capture the snapshot, restoring is another story, since
the poller threads don't expect the epfds to change.
Are there any plans to add some sort of lifecycle api to Poller to make it
CRaC friendly?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20240415/0e6fe91f/attachment.htm>
More information about the loom-dev
mailing list