1.1 --- a/src/share/vm/gc_implementation/g1/heapRegionSeq.inline.hpp Tue Aug 19 10:50:27 2014 +0200 1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegionSeq.inline.hpp Thu Aug 21 11:47:10 2014 +0200 1.3 @@ -27,6 +27,7 @@ 1.4 1.5 #include "gc_implementation/g1/heapRegion.hpp" 1.6 #include "gc_implementation/g1/heapRegionSeq.hpp" 1.7 +#include "gc_implementation/g1/heapRegionSet.inline.hpp" 1.8 1.9 inline HeapRegion* HeapRegionSeq::addr_to_region(HeapWord* addr) const { 1.10 assert(addr < heap_end(), 1.11 @@ -35,7 +36,6 @@ 1.12 err_msg("addr: "PTR_FORMAT" bottom: "PTR_FORMAT, p2i(addr), p2i(heap_bottom()))); 1.13 1.14 HeapRegion* hr = _regions.get_by_address(addr); 1.15 - assert(hr != NULL, "invariant"); 1.16 return hr; 1.17 } 1.18