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

[premain] Investigate compression/decompression of CDS archive file

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-leyden
    • repo-leyden
    • hotspot

      For Leyden we can investigate compression/decompression CDS archive when storing/loading it to/from disk. IT may help cold startup.

      With included AOT code the size of CDS archive will significantly increase and time to load may affect startup time.

      Here are some info I collected on compression ratio for our 5 steps PetClinic run using gzip to compress generated archives:

      % ls -alt *.jsa
         15890896 Jan 3 16:06 petclinic-dynamic-release-code.jsa
          6209536 Jan 3 16:06 petclinic-dynamic-release.jsa
        121290752 Jan 3 16:06 petclinic-static-release.jsa

      % ls -alt *.gz
          4555784 Jan 3 16:06 petclinic-dynamic-release-code.jsa.gz
          1085524 Jan 3 16:06 petclinic-dynamic-release.jsa.gz
         30676728 Jan 3 16:06 petclinic-static-release.jsa.gz

            Unassigned Unassigned
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: