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

changeset 6680
78bbf4d43a14
parent 6409
5479cb006184
child 6876
710a3c8b516e
child 9327
f96fcd9e1e1b
     1.1 --- a/src/share/vm/gc_implementation/g1/g1BiasedArray.cpp	Thu May 15 18:23:26 2014 -0400
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1BiasedArray.cpp	Thu May 22 15:52:41 2014 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2013, 2014, 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 @@ -65,7 +65,7 @@
    1.11              REGION_SIZE_IN_WORDS * HeapWordSize);
    1.12      // Check address calculation (bounds)
    1.13      assert(array.bottom_address_mapped() == fake_heap,
    1.14 -      err_msg("bottom mapped address should be "PTR_FORMAT", but is "PTR_FORMAT, fake_heap, array.bottom_address_mapped()));
    1.15 +      err_msg("bottom mapped address should be " PTR_FORMAT ", but is " PTR_FORMAT, p2i(fake_heap), p2i(array.bottom_address_mapped())));
    1.16      assert(array.end_address_mapped() == (fake_heap + REGION_SIZE_IN_WORDS * NUM_REGIONS), "must be");
    1.17  
    1.18      int* bottom = array.address_mapped_to(fake_heap);

mercurial