8081382: Make flags ParallelGCThreads and ConcGCThreads of type uint

Reviewed-by: drwhite, stefank
This commit is contained in:
David Lindholm 2015-06-05 09:50:09 +02:00
parent 862b933a2e
commit 5f5af54f95
20 changed files with 97 additions and 55 deletions

View file

@ -255,7 +255,7 @@ void StealRegionCompactionTask::do_it(GCTaskManager* manager, uint which) {
which_stack_index = which;
assert(manager->active_workers() == ParallelGCThreads,
err_msg("all_workers_active has been incorrectly set: "
" active %d ParallelGCThreads " UINTX_FORMAT, manager->active_workers(),
" active %d ParallelGCThreads %u", manager->active_workers(),
ParallelGCThreads));
} else {
which_stack_index = ParCompactionManager::pop_recycled_stack_index();
@ -334,7 +334,7 @@ void DrainStacksCompactionTask::do_it(GCTaskManager* manager, uint which) {
which_stack_index = which;
assert(manager->active_workers() == ParallelGCThreads,
err_msg("all_workers_active has been incorrectly set: "
" active %d ParallelGCThreads " UINTX_FORMAT, manager->active_workers(),
" active %d ParallelGCThreads %u", manager->active_workers(),
ParallelGCThreads));
} else {
which_stack_index = stack_index();