src/share/vm/gc_implementation/g1/heapRegionSet.inline.hpp

changeset 3713
720b6a76dd9d
parent 3058
3be7439273c5
child 3957
a2f7274eb6ef
     1.1 --- a/src/share/vm/gc_implementation/g1/heapRegionSet.inline.hpp	Wed Apr 11 16:18:45 2012 +0200
     1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegionSet.inline.hpp	Wed Apr 18 07:21:15 2012 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -54,15 +54,15 @@
    1.11    assert(_length > 0, hrs_ext_msg(this, "pre-condition"));
    1.12    _length -= 1;
    1.13  
    1.14 -  size_t region_num_diff;
    1.15 +  uint region_num_diff;
    1.16    if (!hr->isHumongous()) {
    1.17      region_num_diff = 1;
    1.18    } else {
    1.19      region_num_diff = calculate_region_num(hr);
    1.20    }
    1.21    assert(region_num_diff <= _region_num,
    1.22 -         hrs_err_msg("[%s] region's region num: "SIZE_FORMAT" "
    1.23 -                     "should be <= region num: "SIZE_FORMAT,
    1.24 +         hrs_err_msg("[%s] region's region num: %u "
    1.25 +                     "should be <= region num: %u",
    1.26                       name(), region_num_diff, _region_num));
    1.27    _region_num -= region_num_diff;
    1.28  

mercurial