src/hotspot/share/gc/serial/tenuredGeneration.hpp
changeset 50034 01a88f825a84
parent 47216 71c04702a3d5
child 53244 9807daeb47c4
--- 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 <typename OopClosureType>
+  void oop_since_save_marks_iterate(OopClosureType* cl);
 
   void save_marks();
   void reset_saved_marks();