hotspot/src/share/vm/gc/g1/g1RemSet.inline.hpp
changeset 33786 ac8da6513351
parent 30764 fec48bf5a827
child 34269 7c558c120803
--- a/hotspot/src/share/vm/gc/g1/g1RemSet.inline.hpp	Fri Nov 06 09:58:06 2015 -0800
+++ b/hotspot/src/share/vm/gc/g1/g1RemSet.inline.hpp	Mon Nov 09 09:19:39 2015 +0100
@@ -60,7 +60,7 @@
   assert(_g1->is_in_reserved(obj), "must be in heap");
 #endif // ASSERT
 
-  assert(from == NULL || from->is_in_reserved(p), "p is not in from");
+  assert(from->is_in_reserved(p) || from->is_starts_humongous(), "p is not in from");
 
   HeapRegion* to = _g1->heap_region_containing(obj);
   if (from != to) {