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

Parallel: Parellel GC resizes heap too aggressive

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 23
    • 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.

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

              Created:
              Updated: