336 capacity_after_gc / (double) K, 337 _capacity_at_prologue / (double) K, 338 expansion_for_promotion / (double) K, 339 shrink_bytes / (double) K); 340 } 341 } 342 // Don't shrink unless it's significant 343 if (shrink_bytes >= _min_heap_delta_bytes) { 344 shrink(shrink_bytes); 345 } 346 } 347 348 // Currently nothing to do. 349 void CardGeneration::prepare_for_verify() {} 350 351 void CardGeneration::space_iterate(SpaceClosure* blk, 352 bool usedOnly) { 353 blk->do_space(space()); 354 } 355 356 void CardGeneration::younger_refs_iterate(OopsInGenClosure* blk) { 357 blk->set_generation(this); 358 younger_refs_in_space_iterate(space(), blk); 359 blk->reset_generation(); 360 } | 336 capacity_after_gc / (double) K, 337 _capacity_at_prologue / (double) K, 338 expansion_for_promotion / (double) K, 339 shrink_bytes / (double) K); 340 } 341 } 342 // Don't shrink unless it's significant 343 if (shrink_bytes >= _min_heap_delta_bytes) { 344 shrink(shrink_bytes); 345 } 346 } 347 348 // Currently nothing to do. 349 void CardGeneration::prepare_for_verify() {} 350 351 void CardGeneration::space_iterate(SpaceClosure* blk, 352 bool usedOnly) { 353 blk->do_space(space()); 354 } 355 356 void CardGeneration::younger_refs_iterate(OopsInGenClosure* blk, uint n_threads) { 357 blk->set_generation(this); 358 younger_refs_in_space_iterate(space(), blk, n_threads); 359 blk->reset_generation(); 360 } |