< prev index next >

src/share/vm/gc/g1/heapRegionManager.inline.hpp

Print this page
rev 8978 : imported patch remove_err_msg

*** 29,41 **** #include "gc/g1/heapRegionManager.hpp" #include "gc/g1/heapRegionSet.inline.hpp" inline HeapRegion* HeapRegionManager::addr_to_region(HeapWord* addr) const { assert(addr < heap_end(), ! err_msg("addr: " PTR_FORMAT " end: " PTR_FORMAT, p2i(addr), p2i(heap_end()))); assert(addr >= heap_bottom(), ! err_msg("addr: " PTR_FORMAT " bottom: " PTR_FORMAT, p2i(addr), p2i(heap_bottom()))); HeapRegion* hr = _regions.get_by_address(addr); return hr; } --- 29,41 ---- #include "gc/g1/heapRegionManager.hpp" #include "gc/g1/heapRegionSet.inline.hpp" inline HeapRegion* HeapRegionManager::addr_to_region(HeapWord* addr) const { assert(addr < heap_end(), ! "addr: " PTR_FORMAT " end: " PTR_FORMAT, p2i(addr), p2i(heap_end())); assert(addr >= heap_bottom(), ! "addr: " PTR_FORMAT " bottom: " PTR_FORMAT, p2i(addr), p2i(heap_bottom())); HeapRegion* hr = _regions.get_by_address(addr); return hr; }
< prev index next >