We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aed53ee commit 9a3a9b1Copy full SHA for 9a3a9b1
src/hotspot/share/gc/g1/g1ConcurrentMark.cpp
@@ -770,7 +770,7 @@ class G1PreConcurrentStartTask::NoteStartOfMarkTask : public G1AbstractSubTask {
770
double worker_cost() const override {
771
// The work done per region is very small, therefore we choose this magic number to cap the number
772
// of threads used when there are few regions.
773
- const uint regions_per_thread = 1000;
+ const double regions_per_thread = 1000;
774
return _claimer.n_regions() / regions_per_thread;
775
}
776
0 commit comments