Skip to content

Commit cc50c8d

Browse files
author
Thomas Schatzl
committed
8255196: Remove unused G1FullGCCompactionPoint::merge()
Reviewed-by: shade
1 parent ae72b52 commit cc50c8d

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/hotspot/share/gc/g1/g1FullGCCompactionPoint.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,6 @@ void G1FullGCCompactionPoint::add(HeapRegion* hr) {
136136
_compaction_regions->append(hr);
137137
}
138138

139-
void G1FullGCCompactionPoint::merge(G1FullGCCompactionPoint* other) {
140-
_compaction_regions->appendAll(other->regions());
141-
}
142-
143139
HeapRegion* G1FullGCCompactionPoint::remove_last() {
144140
return _compaction_regions->pop();
145141
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ class G1FullGCCompactionPoint : public CHeapObj<mtGC> {
5353
void update();
5454
void forward(oop object, size_t size);
5555
void add(HeapRegion* hr);
56-
void merge(G1FullGCCompactionPoint* other);
5756

5857
HeapRegion* remove_last();
5958
HeapRegion* current_region();

0 commit comments

Comments
 (0)