diff -r 000c697c81db -r 01a88f825a84 src/hotspot/share/gc/serial/tenuredGeneration.hpp --- a/src/hotspot/share/gc/serial/tenuredGeneration.hpp Mon May 07 14:42:05 2018 +0200 +++ b/src/hotspot/share/gc/serial/tenuredGeneration.hpp Mon May 07 14:42:08 2018 +0200 @@ -75,10 +75,8 @@ virtual inline HeapWord* allocate(size_t word_size, bool is_tlab); virtual inline HeapWord* par_allocate(size_t word_size, bool is_tlab); -#define TenuredGen_SINCE_SAVE_MARKS_DECL(OopClosureType, nv_suffix) \ - void oop_since_save_marks_iterate##nv_suffix(OopClosureType* cl); - TenuredGen_SINCE_SAVE_MARKS_DECL(OopsInGenClosure,_v) - SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES(TenuredGen_SINCE_SAVE_MARKS_DECL) + template + void oop_since_save_marks_iterate(OopClosureType* cl); void save_marks(); void reset_saved_marks();