Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8240592: HeapRegionManager::rebuild_free_list logs 0s for the estimat…
…ed free regions before

Reviewed-by: sjohanss, kbarrett
  • Loading branch information
Ivan Walulya committed Mar 6, 2020
1 parent 95a497a commit f0cd9dd5c45bd6cedd11a444be58f271fadd34d5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/hotspot/share/gc/g1/heapRegionManager.cpp
@@ -680,8 +680,8 @@ void HeapRegionManager::rebuild_free_list(WorkGang* workers) {
uint const num_workers = clamp(max_length(), 1u, workers->active_workers());
G1RebuildFreeListTask task(this, num_workers);

log_debug(gc, ergo)("Running %s using %u workers for rebuilding free list of %u (%u) regions",
task.name(), num_workers, num_free_regions(), max_length());
log_debug(gc, ergo)("Running %s using %u workers for rebuilding free list of regions",
task.name(), num_workers);
workers->run_task(&task, num_workers);

// Link the partial free lists together.

0 comments on commit f0cd9dd

Please sign in to comment.