mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8071462: Remove G1ParGCAllocator::alloc_buffer_waste
Removed G1ParGCAllocator::alloc_buffer_waste, added method to obtain waste Reviewed-by: tschatzl, sjohanss
This commit is contained in:
parent
6d5aa2af43
commit
689d9a58b1
7 changed files with 77 additions and 55 deletions
|
@ -95,8 +95,9 @@ G1ParScanThreadState::print_termination_stats(int i,
|
|||
const double elapsed_ms = elapsed_time() * 1000.0;
|
||||
const double s_roots_ms = strong_roots_time() * 1000.0;
|
||||
const double term_ms = term_time() * 1000.0;
|
||||
const size_t alloc_buffer_waste = _g1_par_allocator->alloc_buffer_waste();
|
||||
const size_t undo_waste = _g1_par_allocator->undo_waste();
|
||||
size_t alloc_buffer_waste = 0;
|
||||
size_t undo_waste = 0;
|
||||
_g1_par_allocator->waste(alloc_buffer_waste, undo_waste);
|
||||
st->print_cr("%3d %9.2f %9.2f %6.2f "
|
||||
"%9.2f %6.2f " SIZE_FORMAT_W(8) " "
|
||||
SIZE_FORMAT_W(7) " " SIZE_FORMAT_W(7) " " SIZE_FORMAT_W(7),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue