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

Remove ArchiveBuilder::estimate_archive_size()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • hotspot
    • b06

      ArchiveBuilder::estimate_archive_size() tries to estimate an upper limit of the archive's size, and allocate a virtual space up to this size.

      The estimate is getting more difficult as more features are being added to CDS.

      The virtual space is incrementally committed as contents are written. So it doesn't matter if we reserve a little too much.

      We can just reserve CompressedClassSpaceSize, as the CDS archive will be put inside the CCS.


            szaldana Sonia Zaldana Calles
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: