Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8255196: Remove unused G1FullGCCompactionPoint::merge()
Reviewed-by: shade
  • Loading branch information
Thomas Schatzl committed Oct 22, 2020
1 parent ae72b52 commit cc50c8d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/hotspot/share/gc/g1/g1FullGCCompactionPoint.cpp
Expand Up @@ -136,10 +136,6 @@ void G1FullGCCompactionPoint::add(HeapRegion* hr) {
_compaction_regions->append(hr);
}

void G1FullGCCompactionPoint::merge(G1FullGCCompactionPoint* other) {
_compaction_regions->appendAll(other->regions());
}

HeapRegion* G1FullGCCompactionPoint::remove_last() {
return _compaction_regions->pop();
}
1 change: 0 additions & 1 deletion src/hotspot/share/gc/g1/g1FullGCCompactionPoint.hpp
Expand Up @@ -53,7 +53,6 @@ class G1FullGCCompactionPoint : public CHeapObj<mtGC> {
void update();
void forward(oop object, size_t size);
void add(HeapRegion* hr);
void merge(G1FullGCCompactionPoint* other);

HeapRegion* remove_last();
HeapRegion* current_region();
Expand Down

1 comment on commit cc50c8d

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on cc50c8d Oct 22, 2020

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.