1.1 --- a/src/share/vm/gc_implementation/g1/heapRegion.cpp Mon Mar 17 15:18:45 2014 +0100 1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegion.cpp Mon Mar 24 15:30:14 2014 +0100 1.3 @@ -710,14 +710,14 @@ 1.4 } 1.5 1.6 HeapRegionRemSet* hrrs = rem_set(); 1.7 - int strong_code_roots_length = hrrs->strong_code_roots_list_length(); 1.8 + size_t strong_code_roots_length = hrrs->strong_code_roots_list_length(); 1.9 1.10 // if this region is empty then there should be no entries 1.11 // on its strong code root list 1.12 if (is_empty()) { 1.13 if (strong_code_roots_length > 0) { 1.14 gclog_or_tty->print_cr("region ["PTR_FORMAT","PTR_FORMAT"] is empty " 1.15 - "but has "INT32_FORMAT" code root entries", 1.16 + "but has "SIZE_FORMAT" code root entries", 1.17 bottom(), end(), strong_code_roots_length); 1.18 *failures = true; 1.19 } 1.20 @@ -727,7 +727,7 @@ 1.21 if (continuesHumongous()) { 1.22 if (strong_code_roots_length > 0) { 1.23 gclog_or_tty->print_cr("region "HR_FORMAT" is a continuation of a humongous " 1.24 - "region but has "INT32_FORMAT" code root entries", 1.25 + "region but has "SIZE_FORMAT" code root entries", 1.26 HR_FORMAT_PARAMS(this), strong_code_roots_length); 1.27 *failures = true; 1.28 }