Skip to content

Commit 14f0afe

Browse files
author
Thomas Schatzl
committed
8214237: Join parallel phases post evacuation
Reviewed-by: iwalulya, sjohanss
1 parent 2798b0d commit 14f0afe

26 files changed

+1081
-801
lines changed

src/hotspot/share/gc/g1/g1BatchedGangTask.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ class G1AbstractSubTask : public CHeapObj<mtGC> {
5757
void record_work_item(uint worker_id, uint index, size_t count);
5858

5959
public:
60+
// Worker cost for "almost no work" to be done.
61+
static constexpr double AlmostNoWork = 0.01;
62+
6063
G1AbstractSubTask(G1GCPhaseTimes::GCParPhases tag) : _tag(tag) { }
6164
virtual ~G1AbstractSubTask() { }
6265

0 commit comments

Comments
 (0)