Skip to content

Commit f2599ad

Browse files
committed
8272196: Remove unused class ParStrongRootsScope
Reviewed-by: tschatzl, pliden
1 parent 1f88134 commit f2599ad

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -784,14 +784,6 @@ void ParallelScavengeHeap::resize_old_gen(size_t desired_free_space) {
784784
_old_gen->resize(desired_free_space);
785785
}
786786

787-
ParallelScavengeHeap::ParStrongRootsScope::ParStrongRootsScope() {
788-
// nothing particular
789-
}
790-
791-
ParallelScavengeHeap::ParStrongRootsScope::~ParStrongRootsScope() {
792-
// nothing particular
793-
}
794-
795787
#ifndef PRODUCT
796788
void ParallelScavengeHeap::record_gen_tops_before_GC() {
797789
if (ZapUnusedHeapArea) {

src/hotspot/share/gc/parallel/parallelScavengeHeap.hpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,13 +247,6 @@ class ParallelScavengeHeap : public CollectedHeap {
247247
// Mangle the unused parts of all spaces in the heap
248248
void gen_mangle_unused_area() PRODUCT_RETURN;
249249

250-
// Call these in sequential code around the processing of strong roots.
251-
class ParStrongRootsScope : public MarkScope {
252-
public:
253-
ParStrongRootsScope();
254-
~ParStrongRootsScope();
255-
};
256-
257250
GCMemoryManager* old_gc_manager() const { return _old_manager; }
258251
GCMemoryManager* young_gc_manager() const { return _young_manager; }
259252

0 commit comments

Comments
 (0)