Skip to content
Permalink
Browse files
8252648: Shenandoah: name gang tasks consistently
Reviewed-by: zgu
Backport-of: a1176dc
  • Loading branch information
shipilev committed Jul 28, 2021
1 parent eaf59e0 commit 8ec02f3a8471cb2585c9c39c7b1cb5f7b4ad549e
Showing 6 changed files with 20 additions and 20 deletions.
@@ -85,7 +85,7 @@ class ShenandoahInitMarkRootsTask : public AbstractGangTask {
ShenandoahAllRootScanner* _rp;
public:
ShenandoahInitMarkRootsTask(ShenandoahAllRootScanner* rp) :
AbstractGangTask("Shenandoah init mark roots task"),
AbstractGangTask("Shenandoah Init Mark Roots"),
_rp(rp) {
}

@@ -127,7 +127,7 @@ class ShenandoahUpdateRootsTask : public AbstractGangTask {
ShenandoahRootUpdater* _root_updater;
public:
ShenandoahUpdateRootsTask(ShenandoahRootUpdater* root_updater) :
AbstractGangTask("Shenandoah update roots task"),
AbstractGangTask("Shenandoah Update Roots"),
_root_updater(root_updater) {
}

@@ -149,7 +149,7 @@ class ShenandoahConcurrentMarkingTask : public AbstractGangTask {

public:
ShenandoahConcurrentMarkingTask(ShenandoahConcurrentMark* cm, ShenandoahTaskTerminator* terminator) :
AbstractGangTask("Root Region Scan"), _cm(cm), _terminator(terminator) {
AbstractGangTask("Shenandoah Concurrent Mark"), _cm(cm), _terminator(terminator) {
}

void work(uint worker_id) {
@@ -219,7 +219,7 @@ class ShenandoahFinalMarkingTask : public AbstractGangTask {

public:
ShenandoahFinalMarkingTask(ShenandoahConcurrentMark* cm, ShenandoahTaskTerminator* terminator, bool dedup_string) :
AbstractGangTask("Shenandoah Final Marking"), _cm(cm), _terminator(terminator), _dedup_string(dedup_string) {
AbstractGangTask("Shenandoah Final Mark"), _cm(cm), _terminator(terminator), _dedup_string(dedup_string) {
}

void work(uint worker_id) {
@@ -602,7 +602,7 @@ class ShenandoahRefProcTaskProxy : public AbstractGangTask {
public:
ShenandoahRefProcTaskProxy(AbstractRefProcTaskExecutor::ProcessTask& proc_task,
ShenandoahTaskTerminator* t) :
AbstractGangTask("Process reference objects in parallel"),
AbstractGangTask("Shenandoah Process Weak References"),
_proc_task(proc_task),
_terminator(t) {
}
@@ -761,7 +761,7 @@ class ShenandoahPrecleanTask : public AbstractGangTask {

public:
ShenandoahPrecleanTask(ReferenceProcessor* rp) :
AbstractGangTask("Precleaning task"),
AbstractGangTask("Shenandoah Precleaning"),
_rp(rp) {}

void work(uint worker_id) {
@@ -518,7 +518,7 @@ class ShenandoahResetBitmapTask : public AbstractGangTask {

public:
ShenandoahResetBitmapTask() :
AbstractGangTask("Parallel Reset Bitmap Task") {}
AbstractGangTask("Shenandoah Reset Bitmap") {}

void work(uint worker_id) {
ShenandoahHeapRegion* region = _regions.next();
@@ -960,7 +960,7 @@ class ShenandoahEvacuationTask : public AbstractGangTask {
ShenandoahEvacuationTask(ShenandoahHeap* sh,
ShenandoahCollectionSet* cs,
bool concurrent) :
AbstractGangTask("Parallel Evacuation Task"),
AbstractGangTask("Shenandoah Evacuation"),
_sh(sh),
_cs(cs),
_concurrent(concurrent)
@@ -1078,7 +1078,7 @@ class ShenandoahEvacuateUpdateRootsTask : public AbstractGangTask {

public:
ShenandoahEvacuateUpdateRootsTask(ShenandoahRootEvacuator* rp) :
AbstractGangTask("Shenandoah evacuate and update roots"),
AbstractGangTask("Shenandoah Evacuate/Update Roots"),
_rp(rp) {}

void work(uint worker_id) {
@@ -1355,7 +1355,7 @@ class ShenandoahParallelHeapRegionTask : public AbstractGangTask {

public:
ShenandoahParallelHeapRegionTask(ShenandoahHeapRegionClosure* blk) :
AbstractGangTask("Parallel Region Task"),
AbstractGangTask("Shenandoah Parallel Region Operation"),
_heap(ShenandoahHeap::heap()), _blk(blk), _index(0) {}

void work(uint worker_id) {
@@ -2159,7 +2159,7 @@ class ShenandoahUpdateHeapRefsTask : public AbstractGangTask {
bool _concurrent;
public:
ShenandoahUpdateHeapRefsTask(ShenandoahRegionIterator* regions, bool concurrent) :
AbstractGangTask("Concurrent Update References Task"),
AbstractGangTask("Shenandoah Update References"),
cl(T()),
_heap(ShenandoahHeap::heap()),
_regions(regions),
@@ -327,7 +327,7 @@ class ShenandoahPrepareForCompactionTask : public AbstractGangTask {

public:
ShenandoahPrepareForCompactionTask(PreservedMarksSet *preserved_marks, ShenandoahHeapRegionSet **worker_slices) :
AbstractGangTask("Shenandoah Prepare For Compaction Task"),
AbstractGangTask("Shenandoah Prepare For Compaction"),
_preserved_marks(preserved_marks),
_heap(ShenandoahHeap::heap()), _worker_slices(worker_slices) {
}
@@ -719,7 +719,7 @@ class ShenandoahAdjustPointersTask : public AbstractGangTask {

public:
ShenandoahAdjustPointersTask() :
AbstractGangTask("Shenandoah Adjust Pointers Task"),
AbstractGangTask("Shenandoah Adjust Pointers"),
_heap(ShenandoahHeap::heap()) {
}

@@ -741,7 +741,7 @@ class ShenandoahAdjustRootPointersTask : public AbstractGangTask {
PreservedMarksSet* _preserved_marks;
public:
ShenandoahAdjustRootPointersTask(ShenandoahRootAdjuster* rp, PreservedMarksSet* preserved_marks) :
AbstractGangTask("Shenandoah Adjust Root Pointers Task"),
AbstractGangTask("Shenandoah Adjust Root Pointers"),
_rp(rp),
_preserved_marks(preserved_marks) {}

@@ -805,7 +805,7 @@ class ShenandoahCompactObjectsTask : public AbstractGangTask {

public:
ShenandoahCompactObjectsTask(ShenandoahHeapRegionSet** worker_slices) :
AbstractGangTask("Shenandoah Compact Objects Task"),
AbstractGangTask("Shenandoah Compact Objects"),
_heap(ShenandoahHeap::heap()),
_worker_slices(worker_slices) {
}
@@ -953,7 +953,7 @@ class ShenandoahMCResetCompleteBitmapTask : public AbstractGangTask {

public:
ShenandoahMCResetCompleteBitmapTask() :
AbstractGangTask("Parallel Reset Bitmap Task") {
AbstractGangTask("Shenandoah Reset Bitmap") {
}

void work(uint worker_id) {
@@ -35,7 +35,7 @@ ShenandoahParallelWeakRootsCleaningTask<IsAlive, KeepAlive>::ShenandoahParallelW
IsAlive* is_alive,
KeepAlive* keep_alive,
uint num_workers) :
AbstractGangTask("Parallel Weak Root Cleaning Task"),
AbstractGangTask("Shenandoah Weak Root Cleaning"),
_phase(phase), _weak_roots(phase, num_workers),
_is_alive(is_alive), _keep_alive(keep_alive) {
assert(SafepointSynchronize::is_at_safepoint(), "Must be at a safepoint");
@@ -129,7 +129,7 @@ class ShenandoahStringDedupUnlinkOrOopsDoTask : public AbstractGangTask {
ShenandoahStringDedupUnlinkOrOopsDoTask(BoolObjectClosure* is_alive,
OopClosure* keep_alive,
bool allow_resize_and_rehash) :
AbstractGangTask("StringDedupUnlinkOrOopsDoTask"),
AbstractGangTask("Shenandoah String Dedup Unlink/Process"),
_cl(is_alive, keep_alive) {
StringDedup::gc_prologue(allow_resize_and_rehash);
}
@@ -411,7 +411,7 @@ class ShenandoahVerifierReachableTask : public AbstractGangTask {
ShenandoahRootVerifier* verifier,
const char* label,
ShenandoahVerifier::VerifyOptions options) :
AbstractGangTask("Shenandoah Parallel Verifier Reachable Task"),
AbstractGangTask("Shenandoah Verifier Reachable Objects"),
_label(label),
_verifier(verifier),
_options(options),
@@ -476,7 +476,7 @@ class ShenandoahVerifierMarkedRegionTask : public AbstractGangTask {
ShenandoahLivenessData* ld,
const char* label,
ShenandoahVerifier::VerifyOptions options) :
AbstractGangTask("Shenandoah Parallel Verifier Marked Region"),
AbstractGangTask("Shenandoah Verifier Marked Objects"),
_label(label),
_options(options),
_heap(ShenandoahHeap::heap()),

1 comment on commit 8ec02f3

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 8ec02f3 Jul 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.