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

G1: Allow heap shrinking / memory unmapping after reclaiming regions during Remark

    XMLWordPrintable

Details

    • gc
    • b18
    • generic
    • generic

    Description

      Right now G1 can only expand the heap outside of full GC, never shrink it.

      Given that G1 does incrementally compact the heap, it might be a good opportunity to do that whenever regions are actually made available again (GC cleanup, possibly at the end of the mixed gc cycle).

      Attachments

        1. 20190807-jdk11backportRemarkResize-dacapoLarge100MTo4G-h2.html
          292 kB
          Man Cao

        Issue Links

          Activity

            People

              tschatzl Thomas Schatzl
              tonyp Tony Printezis
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: