src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp

changeset 3713
720b6a76dd9d
parent 3182
65a8ff39a6da
child 3891
7994a5a35fcf
child 3900
d2a62e0f25eb
     1.1 --- a/src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp	Wed Apr 11 16:18:45 2012 +0200
     1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp	Wed Apr 18 07:21:15 2012 -0400
     1.3 @@ -329,13 +329,13 @@
     1.4  
     1.5    // Declare the heap size (in # of regions) to the HeapRegionRemSet(s).
     1.6    // (Uses it to initialize from_card_cache).
     1.7 -  static void init_heap(size_t max_regions) {
     1.8 -    OtherRegionsTable::init_from_card_cache(max_regions);
     1.9 +  static void init_heap(uint max_regions) {
    1.10 +    OtherRegionsTable::init_from_card_cache((size_t) max_regions);
    1.11    }
    1.12  
    1.13    // Declares that only regions i s.t. 0 <= i < new_n_regs are in use.
    1.14 -  static void shrink_heap(size_t new_n_regs) {
    1.15 -    OtherRegionsTable::shrink_from_card_cache(new_n_regs);
    1.16 +  static void shrink_heap(uint new_n_regs) {
    1.17 +    OtherRegionsTable::shrink_from_card_cache((size_t) new_n_regs);
    1.18    }
    1.19  
    1.20  #ifndef PRODUCT

mercurial