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

G1: Heap expansion logging misleading for fully expanded heap

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b53

      Backports

        Description

        When running G1 with -XX:+PrintAdaptiveSizePolicy some information about the heap sizing is logged. When the heap is fully expanded but the ergonomics would have liked to expand even more the following message is logged:

        [G1Ergonomics (Heap Sizing) did not expand the heap, reason: heap expansion operation failed]

        It sounds like something failed, but in reality we just hit the -Xmx value. We should have a more informative message that does not look like a serious failure.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  brutisso Bengt Rutisson (Inactive)
                  Reporter:
                  brutisso Bengt Rutisson (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: