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

    • gc
    • b12

        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)

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

                Created:
                Updated:
                Resolved: