Skip to content
Permalink
Browse files
8272196: Remove unused class ParStrongRootsScope
Reviewed-by: tschatzl, pliden
  • Loading branch information
albertnetymk committed Aug 10, 2021
1 parent 1f88134 commit f2599ad867476f11fdc455084bb64ab6e91fa146
Showing 2 changed files with 0 additions and 15 deletions.
@@ -784,14 +784,6 @@ void ParallelScavengeHeap::resize_old_gen(size_t desired_free_space) {
_old_gen->resize(desired_free_space);
}

ParallelScavengeHeap::ParStrongRootsScope::ParStrongRootsScope() {
// nothing particular
}

ParallelScavengeHeap::ParStrongRootsScope::~ParStrongRootsScope() {
// nothing particular
}

#ifndef PRODUCT
void ParallelScavengeHeap::record_gen_tops_before_GC() {
if (ZapUnusedHeapArea) {
@@ -247,13 +247,6 @@ class ParallelScavengeHeap : public CollectedHeap {
// Mangle the unused parts of all spaces in the heap
void gen_mangle_unused_area() PRODUCT_RETURN;

// Call these in sequential code around the processing of strong roots.
class ParStrongRootsScope : public MarkScope {
public:
ParStrongRootsScope();
~ParStrongRootsScope();
};

GCMemoryManager* old_gc_manager() const { return _old_manager; }
GCMemoryManager* young_gc_manager() const { return _young_manager; }

1 comment on commit f2599ad

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on f2599ad Aug 10, 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.