Skip to content

Commit 434b98f

Browse files
committed
8257077: ZGC: Remove ZWorkers::run_serial()
Reviewed-by: stefank
1 parent f3fc0e0 commit 434b98f

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/hotspot/share/gc/z/zWorkers.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ void ZWorkers::run(ZTask* task, uint nworkers) {
100100
_workers.run_task(task->gang_task());
101101
}
102102

103-
void ZWorkers::run_serial(ZTask* task) {
104-
run(task, 1 /* nworkers */);
105-
}
106-
107103
void ZWorkers::run_parallel(ZTask* task) {
108104
run(task, nparallel());
109105
}

src/hotspot/share/gc/z/zWorkers.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ class ZWorkers {
4747

4848
void set_boost(bool boost);
4949

50-
void run_serial(ZTask* task);
5150
void run_parallel(ZTask* task);
5251
void run_concurrent(ZTask* task);
5352

0 commit comments

Comments
 (0)