1.1 --- a/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp Sat Nov 02 13:02:59 2013 -0700 1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp Thu Nov 07 15:17:10 2013 +0100 1.3 @@ -1004,7 +1004,9 @@ 1.4 1.5 void HeapRegionRemSet::migrate_strong_code_roots() { 1.6 assert(hr()->in_collection_set(), "only collection set regions"); 1.7 - assert(!hr()->isHumongous(), "not humongous regions"); 1.8 + assert(!hr()->isHumongous(), 1.9 + err_msg("humongous region "HR_FORMAT" should not have been added to the collection set", 1.10 + HR_FORMAT_PARAMS(hr()))); 1.11 1.12 ResourceMark rm; 1.13