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

CMM Testing: an allocated humongous object at the end of the heap should not prevents shrinking the heap

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7, 8, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b12

      Backports

        Description

        Need a test checking that allocating new humongous objects doesn't prevent g1 from shrinking area allocated earlier and recently reclaimed.

        Scenario should like:

         eat(area1); // allocated humongous objects in area1
         committed1 = getCommitted();
         eat(area2); // allocated humongous objects in area2
         committed2 = getCommitted();
         eat(area3); // allocated humongous objects in arae3
         committed3 = getCommitted();
         free(area1); // reclaim objects in area1
         free(area2); // reclaim objects in area2

        check( getCommitted() ~= committed1)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                azakharov Andrey Zakharov (Inactive)
                Reporter:
                dfazunen Dmitry Fazunenko (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: