src/share/vm/gc_implementation/g1/heapRegion.cpp

Print this page

        

*** 599,609 **** hrrs->remove_strong_code_root(nm); } void HeapRegion::migrate_strong_code_roots() { assert(in_collection_set(), "only collection set regions"); ! assert(!isHumongous(), "not humongous regions"); HeapRegionRemSet* hrrs = rem_set(); hrrs->migrate_strong_code_roots(); } --- 599,609 ---- hrrs->remove_strong_code_root(nm); } void HeapRegion::migrate_strong_code_roots() { assert(in_collection_set(), "only collection set regions"); ! assert(!isHumongous(), "humongous region moved?"); HeapRegionRemSet* hrrs = rem_set(); hrrs->migrate_strong_code_roots(); }
*** 720,733 **** *failures = true; } return; } ! // An H-region should have an empty strong code root list ! if (isHumongous()) { if (strong_code_roots_length > 0) { ! gclog_or_tty->print_cr("region ["PTR_FORMAT","PTR_FORMAT"] is humongous " "but has "INT32_FORMAT" code root entries", bottom(), end(), strong_code_roots_length); *failures = true; } return; --- 720,733 ---- *failures = true; } return; } ! // An H-region continuation should have an empty strong code root list ! if (continuesHumongous()) { if (strong_code_roots_length > 0) { ! gclog_or_tty->print_cr("region ["PTR_FORMAT","PTR_FORMAT"] is a humongous continuation " "but has "INT32_FORMAT" code root entries", bottom(), end(), strong_code_roots_length); *failures = true; } return;