src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp

changeset 6680
78bbf4d43a14
parent 5255
a837fa3d3f86
child 6876
710a3c8b516e
child 6912
c49dcaf78a65
     1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp	Thu May 15 18:23:26 2014 -0400
     1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp	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 @@ -478,23 +478,23 @@
    1.11      gclog_or_tty->print_cr("  "
    1.12                    "  _covered[%d].start(): " INTPTR_FORMAT
    1.13                    "  _covered[%d].last(): " INTPTR_FORMAT,
    1.14 -                  ind, _covered[ind].start(),
    1.15 -                  ind, _covered[ind].last());
    1.16 +                  ind, p2i(_covered[ind].start()),
    1.17 +                  ind, p2i(_covered[ind].last()));
    1.18      gclog_or_tty->print_cr("  "
    1.19                    "  _committed[%d].start(): " INTPTR_FORMAT
    1.20                    "  _committed[%d].last(): " INTPTR_FORMAT,
    1.21 -                  ind, _committed[ind].start(),
    1.22 -                  ind, _committed[ind].last());
    1.23 +                  ind, p2i(_committed[ind].start()),
    1.24 +                  ind, p2i(_committed[ind].last()));
    1.25      gclog_or_tty->print_cr("  "
    1.26                    "  byte_for(start): " INTPTR_FORMAT
    1.27                    "  byte_for(last): " INTPTR_FORMAT,
    1.28 -                  byte_for(_covered[ind].start()),
    1.29 -                  byte_for(_covered[ind].last()));
    1.30 +                  p2i(byte_for(_covered[ind].start())),
    1.31 +                  p2i(byte_for(_covered[ind].last())));
    1.32      gclog_or_tty->print_cr("  "
    1.33                    "  addr_for(start): " INTPTR_FORMAT
    1.34                    "  addr_for(last): " INTPTR_FORMAT,
    1.35 -                  addr_for((jbyte*) _committed[ind].start()),
    1.36 -                  addr_for((jbyte*) _committed[ind].last()));
    1.37 +                  p2i(addr_for((jbyte*) _committed[ind].start())),
    1.38 +                  p2i(addr_for((jbyte*) _committed[ind].last())));
    1.39    }
    1.40    debug_only(verify_guard();)
    1.41  }

mercurial