src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp

Print this page
rev 6796 : [mq]: templateOopIterate

*** 413,426 **** // Apply "blk->do_oop" to the addresses of all reference fields in objects // promoted into this generation since the most recent save_marks() call. // Fields in objects allocated by applications of the closure // *are* included in the iteration. Thus, when the iteration completes // there should be no further such objects remaining. ! #define CFLS_OOP_SINCE_SAVE_MARKS_DECL(OopClosureType, nv_suffix) \ ! void oop_since_save_marks_iterate##nv_suffix(OopClosureType* blk); ! ALL_SINCE_SAVE_MARKS_CLOSURES(CFLS_OOP_SINCE_SAVE_MARKS_DECL) ! #undef CFLS_OOP_SINCE_SAVE_MARKS_DECL // Allocation support HeapWord* allocate(size_t size); HeapWord* par_allocate(size_t size); --- 413,424 ---- // Apply "blk->do_oop" to the addresses of all reference fields in objects // promoted into this generation since the most recent save_marks() call. // Fields in objects allocated by applications of the closure // *are* included in the iteration. Thus, when the iteration completes // there should be no further such objects remaining. ! template <bool nv, typename OopClosureType> ! void cfls_oop_since_save_marks_iterate(OopClosureType* blk); // Allocation support HeapWord* allocate(size_t size); HeapWord* par_allocate(size_t size);