--- old/src/share/vm/gc_implementation/g1/heapRegion.hpp 2011-10-20 08:37:59.694746900 +0200 +++ new/src/share/vm/gc_implementation/g1/heapRegion.hpp 2011-10-20 08:37:59.257946100 +0200 @@ -431,6 +431,12 @@ return _humongous_start_region; } + // Same as Space::is_in_reserved, but will use the actual size of a humongous start + // region rather than the end of the humongous object. + bool is_in_reserved_raw(const void* p) const { + return _bottom <= p && p < _orig_end; + } + // Makes the current region be a "starts humongous" region, i.e., // the first region in a series of one or more contiguous regions // that will contain a single "humongous" object. The two parameters