G1CollectedHeap::is_in asserts if a pointer below the heap is passed in as a parameter, which is not what's expected from a function implementing CollectedHeap::is_in. The comments in CollectedHeap::is_in also states that state that is_in should return true if the passed in pointer points to the head of an object. None of the implementations check against the head of objects, so that requirement will be removed.
|