Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8353241

[CRaC] Support ZGC

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • repo-crac
    • hotspot
    • gc

      ZGC uses mapping to an anonymous file created through memfd for memory allocation. Since that FD is left open, CRaC would fail the checkpoint upon discovering this FD.

      Memfd does not represent connection to the external environment (as long as it's not shared via fork or socket) and as such can be ignored; CRaC Engine should permit and checkpoint the open FD and reopen that during restore.

      In addition to simply permitting this we should let ZGC release memory in order to minimize image footprint.

            rvansa Radim Vansa
            rvansa Radim Vansa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: