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

G1: Decommit memory within the heap

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u40, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: