src/share/vm/compiler/oopMap.cpp

changeset 6680
78bbf4d43a14
parent 5784
190899198332
child 6876
710a3c8b516e
child 6940
6ad19ab94176
     1.1 --- a/src/share/vm/compiler/oopMap.cpp	Thu May 15 18:23:26 2014 -0400
     1.2 +++ b/src/share/vm/compiler/oopMap.cpp	Thu May 22 15:52:41 2014 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1998, 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 @@ -646,8 +646,8 @@
    1.11        tty->print_cr(
    1.12          "Add derived pointer@" INTPTR_FORMAT
    1.13          " - Derived: " INTPTR_FORMAT
    1.14 -        " Base: " INTPTR_FORMAT " (@" INTPTR_FORMAT ") (Offset: %d)",
    1.15 -        derived_loc, (address)*derived_loc, (address)*base_loc, base_loc, offset
    1.16 +        " Base: " INTPTR_FORMAT " (@" INTPTR_FORMAT ") (Offset: " INTX_FORMAT ")",
    1.17 +        p2i(derived_loc), p2i((address)*derived_loc), p2i((address)*base_loc), p2i(base_loc), offset
    1.18        );
    1.19      }
    1.20      // Set derived oop location to point to base.
    1.21 @@ -674,8 +674,8 @@
    1.22  
    1.23      if (TraceDerivedPointers) {
    1.24        tty->print_cr("Updating derived pointer@" INTPTR_FORMAT
    1.25 -                    " - Derived: " INTPTR_FORMAT "  Base: " INTPTR_FORMAT " (Offset: %d)",
    1.26 -          derived_loc, (address)*derived_loc, (address)base, offset);
    1.27 +                    " - Derived: " INTPTR_FORMAT "  Base: " INTPTR_FORMAT " (Offset: " INTX_FORMAT ")",
    1.28 +          p2i(derived_loc), p2i((address)*derived_loc), p2i((address)base), offset);
    1.29      }
    1.30  
    1.31      // Delete entry

mercurial