8227060: Optimize safepoint cleanup subtask order

Reviewed-by: kbarrett, pchilanomate
This commit is contained in:
Coleen Phillimore 2022-07-19 16:32:07 +00:00
parent 2cb659e7f4
commit 96a542feb2
5 changed files with 26 additions and 40 deletions

View file

@ -1671,7 +1671,7 @@ void ObjectSynchronizer::do_final_audit_and_print_stats() {
; // empty
}
// The other audit_and_print_stats() call is done at the Debug
// level at a safepoint in ObjectSynchronizer::do_safepoint_work().
// level at a safepoint in SafepointSynchronize::do_cleanup_tasks.
ObjectSynchronizer::audit_and_print_stats(true /* on_exit */);
}
}