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

changeset 6680
78bbf4d43a14
parent 6198
55fb97c4c58d
child 6876
710a3c8b516e
child 7049
eec72fa4b108
     1.1 --- a/src/share/vm/gc_implementation/g1/heapRegionSeq.inline.hpp	Thu May 15 18:23:26 2014 -0400
     1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegionSeq.inline.hpp	Thu May 22 15:52:41 2014 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2001, 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 @@ -37,7 +37,7 @@
    1.11  inline HeapRegion* HeapRegionSeq::addr_to_region(HeapWord* addr) const {
    1.12    if (addr != NULL && addr < heap_end()) {
    1.13      assert(addr >= heap_bottom(),
    1.14 -          err_msg("addr: "PTR_FORMAT" bottom: "PTR_FORMAT, addr, heap_bottom()));
    1.15 +          err_msg("addr: " PTR_FORMAT " bottom: " PTR_FORMAT, p2i(addr), p2i(heap_bottom())));
    1.16      return addr_to_region_unsafe(addr);
    1.17    }
    1.18    return NULL;

mercurial