1.1 --- a/src/share/vm/gc_implementation/g1/heapRegion.hpp Fri Aug 31 16:39:35 2012 -0700 1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegion.hpp Sat Sep 01 13:25:18 2012 -0400 1.3 @@ -85,7 +85,7 @@ 1.4 1.5 void walk_mem_region_with_cl(MemRegion mr, 1.6 HeapWord* bottom, HeapWord* top, 1.7 - OopClosure* cl); 1.8 + ExtendedOopClosure* cl); 1.9 1.10 // We don't specialize this for FilteringClosure; filtering is handled by 1.11 // the "FilterKind" mechanism. But we provide this to avoid a compiler 1.12 @@ -94,7 +94,7 @@ 1.13 HeapWord* bottom, HeapWord* top, 1.14 FilteringClosure* cl) { 1.15 HeapRegionDCTOC::walk_mem_region_with_cl(mr, bottom, top, 1.16 - (OopClosure*)cl); 1.17 + (ExtendedOopClosure*)cl); 1.18 } 1.19 1.20 // Get the actual top of the area on which the closure will 1.21 @@ -119,7 +119,7 @@ 1.22 1.23 public: 1.24 HeapRegionDCTOC(G1CollectedHeap* g1, 1.25 - HeapRegion* hr, OopClosure* cl, 1.26 + HeapRegion* hr, ExtendedOopClosure* cl, 1.27 CardTableModRefBS::PrecisionStyle precision, 1.28 FilterKind fk); 1.29 }; 1.30 @@ -231,7 +231,7 @@ 1.31 1.32 // Requires that the region "mr" be dense with objects, and begin and end 1.33 // with an object. 1.34 - void oops_in_mr_iterate(MemRegion mr, OopClosure* cl); 1.35 + void oops_in_mr_iterate(MemRegion mr, ExtendedOopClosure* cl); 1.36 1.37 // The remembered set for this region. 1.38 // (Might want to make this "inline" later, to avoid some alloc failure 1.39 @@ -606,7 +606,7 @@ 1.40 1.41 // Apply "cl->do_oop" to (the addresses of) all reference fields in objects 1.42 // allocated in the current region before the last call to "save_mark". 1.43 - void oop_before_save_marks_iterate(OopClosure* cl); 1.44 + void oop_before_save_marks_iterate(ExtendedOopClosure* cl); 1.45 1.46 // Note the start or end of marking. This tells the heap region 1.47 // that the collector is about to start or has finished (concurrently)