G1: Dynamically adjust allocation reserve

XMLWordPrintable

    • gc
    • generic
    • generic

      G1 has the notion of a "reserve" set by the G1ReservePercent parameter. The idea behind the reserve is that G1 should always try to leave the reserve memory free in case a collection copies unexpectedly more objects and requires more to-space than expected / predicted.

      Currently, it is set to a very generous / conservative value (10% of the heap). Maybe we can reconsider this and, when the user does not set it explicitly, we can maybe make it less conservative or adjust it according to the current heap parameters.

            Assignee:
            Unassigned
            Reporter:
            Tony Printezis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: