--- a/src/hotspot/share/gc/serial/defNewGeneration.cpp Mon May 07 14:42:00 2018 +0200
+++ b/src/hotspot/share/gc/serial/defNewGeneration.cpp Mon May 07 14:42:04 2018 +0200
@@ -92,19 +92,6 @@
void DefNewGeneration::FastKeepAliveClosure::do_oop(oop* p) { DefNewGeneration::FastKeepAliveClosure::do_oop_work(p); }
void DefNewGeneration::FastKeepAliveClosure::do_oop(narrowOop* p) { DefNewGeneration::FastKeepAliveClosure::do_oop_work(p); }
-DefNewGeneration::EvacuateFollowersClosure::
-EvacuateFollowersClosure(GenCollectedHeap* gch,
- ScanClosure* cur,
- ScanClosure* older) :
- _gch(gch), _scan_cur_or_nonheap(cur), _scan_older(older)
-{}
-
-void DefNewGeneration::EvacuateFollowersClosure::do_void() {
- do {
- _gch->oop_since_save_marks_iterate(GenCollectedHeap::YoungGen, _scan_cur_or_nonheap, _scan_older);
- } while (!_gch->no_allocs_since_save_marks());
-}
-
DefNewGeneration::FastEvacuateFollowersClosure::
FastEvacuateFollowersClosure(GenCollectedHeap* gch,
FastScanClosure* cur,
--- a/src/hotspot/share/gc/serial/defNewGeneration.hpp Mon May 07 14:42:00 2018 +0200
+++ b/src/hotspot/share/gc/serial/defNewGeneration.hpp Mon May 07 14:42:04 2018 +0200
@@ -178,16 +178,6 @@
virtual void do_oop(narrowOop* p);
};
- class EvacuateFollowersClosure: public VoidClosure {
- GenCollectedHeap* _gch;
- ScanClosure* _scan_cur_or_nonheap;
- ScanClosure* _scan_older;
- public:
- EvacuateFollowersClosure(GenCollectedHeap* gch,
- ScanClosure* cur, ScanClosure* older);
- void do_void();
- };
-
class FastEvacuateFollowersClosure: public VoidClosure {
GenCollectedHeap* _gch;
DefNewGeneration* _young_gen;