mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8080775: Better argument formatting for assert() and friends
Reviewed-by: kbarrett, pliden
This commit is contained in:
parent
aa0818a98a
commit
1e71f67736
225 changed files with 1342 additions and 1432 deletions
|
@ -254,9 +254,9 @@ void StealRegionCompactionTask::do_it(GCTaskManager* manager, uint which) {
|
|||
if (use_all_workers) {
|
||||
which_stack_index = which;
|
||||
assert(manager->active_workers() == ParallelGCThreads,
|
||||
err_msg("all_workers_active has been incorrectly set: "
|
||||
" active %d ParallelGCThreads %u", manager->active_workers(),
|
||||
ParallelGCThreads));
|
||||
"all_workers_active has been incorrectly set: "
|
||||
" active %d ParallelGCThreads %u", manager->active_workers(),
|
||||
ParallelGCThreads);
|
||||
} else {
|
||||
which_stack_index = ParCompactionManager::pop_recycled_stack_index();
|
||||
}
|
||||
|
@ -333,9 +333,9 @@ void DrainStacksCompactionTask::do_it(GCTaskManager* manager, uint which) {
|
|||
if (use_all_workers) {
|
||||
which_stack_index = which;
|
||||
assert(manager->active_workers() == ParallelGCThreads,
|
||||
err_msg("all_workers_active has been incorrectly set: "
|
||||
" active %d ParallelGCThreads %u", manager->active_workers(),
|
||||
ParallelGCThreads));
|
||||
"all_workers_active has been incorrectly set: "
|
||||
" active %d ParallelGCThreads %u", manager->active_workers(),
|
||||
ParallelGCThreads);
|
||||
} else {
|
||||
which_stack_index = stack_index();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue