There are several places in G1 code where we iterate over all regions covered by a humongous object, all having the same structure, and do some little thing with the object.
Add a helper method to iterate over the objects of a humongous object.
Add a helper method to iterate over the objects of a humongous object.