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

[CRaC] Trim native heap before checkpoint to decrease image size

    XMLWordPrintable

Details

    • generic
    • linux

    Description

      Before checkpointing, we should trim the native C-heap in order to decrease the size of the generated CRaC image.

      Without C-heap trimming, the size of a HelloWorld image is ~32m and the one for SpringPetclinic ~209m. If we trim the C-heap before checkpointin, the image size decreses to ~30m for HelloWorld and 170m for SpringPetclinic.

      Attachments

        Issue Links

          Activity

            People

              simonis Volker Simonis
              simonis Volker Simonis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: