Parallel: Parellel GC resizes heap too aggressive

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 23
    • Component/s: hotspot
    • gc

      Our application is transaction based. Upon finishing a transaction, it is likely to release quite amount of memory. If a GC happens, it likely shrinks heap. Once a new transaction starts to execute, heap starts to expand again. Shrinking and expanding heap are expensive and unnecessary, also impacts on pause time (I would like to measure in next a few days)
       
      While we can now workaround it by setting -Xms = -Xmx after JDK-8332418, I believe we should still fix it.

            Assignee:
            Unassigned
            Reporter:
            Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: