8201175: Move FilteringClosure::do_oop to genOopClosures

Reviewed-by: tschatzl, sjohanss
This commit is contained in:
Stefan Karlsson 2018-04-10 12:18:42 +02:00
parent f0f7a1b70d
commit e7c2b686a1
2 changed files with 3 additions and 3 deletions

View File

@ -174,9 +174,6 @@ ScanWeakRefClosure::ScanWeakRefClosure(DefNewGeneration* g) :
void ScanWeakRefClosure::do_oop(oop* p) { ScanWeakRefClosure::do_oop_work(p); } void ScanWeakRefClosure::do_oop(oop* p) { ScanWeakRefClosure::do_oop_work(p); }
void ScanWeakRefClosure::do_oop(narrowOop* p) { ScanWeakRefClosure::do_oop_work(p); } void ScanWeakRefClosure::do_oop(narrowOop* p) { ScanWeakRefClosure::do_oop_work(p); }
void FilteringClosure::do_oop(oop* p) { FilteringClosure::do_oop_work(p); }
void FilteringClosure::do_oop(narrowOop* p) { FilteringClosure::do_oop_work(p); }
DefNewGeneration::DefNewGeneration(ReservedSpace rs, DefNewGeneration::DefNewGeneration(ReservedSpace rs,
size_t initial_size, size_t initial_size,
const char* policy) const char* policy)

View File

@ -26,5 +26,8 @@
#include "gc/shared/specialized_oop_closures.hpp" #include "gc/shared/specialized_oop_closures.hpp"
#include "memory/iterator.inline.hpp" #include "memory/iterator.inline.hpp"
void FilteringClosure::do_oop(oop* p) { do_oop_nv(p); }
void FilteringClosure::do_oop(narrowOop* p) { do_oop_nv(p); }
// Generate Serial GC specialized oop_oop_iterate functions. // Generate Serial GC specialized oop_oop_iterate functions.
SPECIALIZED_OOP_OOP_ITERATE_CLOSURES_S(ALL_KLASS_OOP_OOP_ITERATE_DEFN) SPECIALIZED_OOP_OOP_ITERATE_CLOSURES_S(ALL_KLASS_OOP_OOP_ITERATE_DEFN)