mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8185580: Refactor Threads::possibly_parallel_oops_do() to use Threads::parallel_java_threads_do()
Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
9adfa12663
commit
b788c73f53
3 changed files with 20 additions and 20 deletions
|
@ -563,7 +563,7 @@ public:
|
|||
|
||||
void work(uint worker_id) {
|
||||
// All threads deflate monitors and mark nmethods (if necessary).
|
||||
Threads::parallel_java_threads_do(&_cleanup_threads_cl);
|
||||
Threads::possibly_parallel_threads_do(true, &_cleanup_threads_cl);
|
||||
|
||||
if (!_subtasks.is_task_claimed(SafepointSynchronize::SAFEPOINT_CLEANUP_DEFLATE_MONITORS)) {
|
||||
const char* name = "deflating idle monitors";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue