Loading... (original) (raw)

The macro hrt_assert_is_valid is defined in gc/g1/heapRegionType.hpp.

Rather than a macro, I suggest it should instead be a private static member function of HeapRegionType, using NOT_DEBUG_RETURN and an ASSERT-only definition in the .cpp file.