src/share/vm/runtime/deoptimization.cpp

changeset 5784
190899198332
parent 5725
01b268b3080a
child 6215
69dc1be43fce
child 6472
2b8e28fdf503
     1.1 --- a/src/share/vm/runtime/deoptimization.cpp	Wed Sep 25 17:47:51 2013 +0200
     1.2 +++ b/src/share/vm/runtime/deoptimization.cpp	Thu Sep 26 10:25:02 2013 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2013, 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 @@ -234,7 +234,7 @@
    1.11          assert(Universe::heap()->is_in_or_null(result), "must be heap pointer");
    1.12          if (TraceDeoptimization) {
    1.13            ttyLocker ttyl;
    1.14 -          tty->print_cr("SAVED OOP RESULT " INTPTR_FORMAT " in thread " INTPTR_FORMAT, result, thread);
    1.15 +          tty->print_cr("SAVED OOP RESULT " INTPTR_FORMAT " in thread " INTPTR_FORMAT, (void *)result, thread);
    1.16          }
    1.17        }
    1.18        bool reallocated = false;
    1.19 @@ -278,7 +278,7 @@
    1.20                    first = false;
    1.21                    tty->print_cr("RELOCK OBJECTS in thread " INTPTR_FORMAT, thread);
    1.22                  }
    1.23 -                tty->print_cr("     object <" INTPTR_FORMAT "> locked", mi->owner());
    1.24 +                tty->print_cr("     object <" INTPTR_FORMAT "> locked", (void *)mi->owner());
    1.25                }
    1.26              }
    1.27            }
    1.28 @@ -977,7 +977,7 @@
    1.29      KlassHandle k(java_lang_Class::as_Klass(sv->klass()->as_ConstantOopReadValue()->value()()));
    1.30      Handle obj = sv->value();
    1.31  
    1.32 -    tty->print("     object <" INTPTR_FORMAT "> of type ", sv->value()());
    1.33 +    tty->print("     object <" INTPTR_FORMAT "> of type ", (void *)sv->value()());
    1.34      k->print_value();
    1.35      tty->print(" allocated (%d bytes)", obj->size() * HeapWordSize);
    1.36      tty->cr();

mercurial