Relates :
|
|
Relates :
|
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)