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

G1: Decommit memory within the heap

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 9
    • 8u40, 9
    • hotspot
    • None
    • gc
    • b29

    Backports

      Description

        In some cases the ergonomics is trying to shrink a heap that is fairly empty, but fails due to allocated regions at the top of the heap that G1 chooses not to move for various reasons. To work around this without having to pay extra in performance by moving these regions, we should make it possible to decommit memory within the heap - i.e. make the heap capable of handling holes in the committed heap area.

        This will require changes in freelist management, virtual space management, and misc parts of the GC code that assumes that the heap is one contiguous area.

        Attachments

          Issue Links

            Activity

              People

                jwilhelm Jesper Wilhelmsson
                jwilhelm Jesper Wilhelmsson
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: