src/share/vm/interpreter/bytecodeInterpreter.cpp

changeset 7358
327e7269f90d
parent 6911
ce8f6bb717c9
child 7535
7ae4e26cb1e0
child 7675
6d13c17668d1
     1.1 --- a/src/share/vm/interpreter/bytecodeInterpreter.cpp	Fri Nov 14 17:39:38 2014 -0500
     1.2 +++ b/src/share/vm/interpreter/bytecodeInterpreter.cpp	Mon Jun 30 14:58:52 2014 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2002, 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 @@ -2813,11 +2813,11 @@
    1.11        if (TraceExceptions) {
    1.12          ttyLocker ttyl;
    1.13          ResourceMark rm;
    1.14 -        tty->print_cr("Exception <%s> (" INTPTR_FORMAT ")", except_oop->print_value_string(), (void*)except_oop());
    1.15 +        tty->print_cr("Exception <%s> (" INTPTR_FORMAT ")", except_oop->print_value_string(), p2i(except_oop()));
    1.16          tty->print_cr(" thrown in interpreter method <%s>", METHOD->print_value_string());
    1.17          tty->print_cr(" at bci %d, continuing at %d for thread " INTPTR_FORMAT,
    1.18 -                      istate->bcp() - (intptr_t)METHOD->code_base(),
    1.19 -                      continuation_bci, THREAD);
    1.20 +                      (int)(istate->bcp() - METHOD->code_base()),
    1.21 +                      (int)continuation_bci, p2i(THREAD));
    1.22        }
    1.23        // for AbortVMOnException flag
    1.24        NOT_PRODUCT(Exceptions::debug_check_abort(except_oop));
    1.25 @@ -2829,11 +2829,11 @@
    1.26      if (TraceExceptions) {
    1.27        ttyLocker ttyl;
    1.28        ResourceMark rm;
    1.29 -      tty->print_cr("Exception <%s> (" INTPTR_FORMAT ")", except_oop->print_value_string(), (void*)except_oop());
    1.30 +      tty->print_cr("Exception <%s> (" INTPTR_FORMAT ")", except_oop->print_value_string(), p2i(except_oop()));
    1.31        tty->print_cr(" thrown in interpreter method <%s>", METHOD->print_value_string());
    1.32        tty->print_cr(" at bci %d, unwinding for thread " INTPTR_FORMAT,
    1.33 -                    istate->bcp() - (intptr_t)METHOD->code_base(),
    1.34 -                    THREAD);
    1.35 +                    (int)(istate->bcp() - METHOD->code_base()),
    1.36 +                    p2i(THREAD));
    1.37      }
    1.38      // for AbortVMOnException flag
    1.39      NOT_PRODUCT(Exceptions::debug_check_abort(except_oop));
    1.40 @@ -3432,7 +3432,7 @@
    1.41    tty->print_cr("osr._osr_buf: " INTPTR_FORMAT, (uintptr_t) this->_result._osr._osr_buf);
    1.42    tty->print_cr("osr._osr_entry: " INTPTR_FORMAT, (uintptr_t) this->_result._osr._osr_entry);
    1.43    tty->print_cr("prev_link: " INTPTR_FORMAT, (uintptr_t) this->_prev_link);
    1.44 -  tty->print_cr("native_mirror: " INTPTR_FORMAT, (void*) this->_oop_temp);
    1.45 +  tty->print_cr("native_mirror: " INTPTR_FORMAT, (uintptr_t) this->_oop_temp);
    1.46    tty->print_cr("stack_base: " INTPTR_FORMAT, (uintptr_t) this->_stack_base);
    1.47    tty->print_cr("stack_limit: " INTPTR_FORMAT, (uintptr_t) this->_stack_limit);
    1.48    tty->print_cr("monitor_base: " INTPTR_FORMAT, (uintptr_t) this->_monitor_base);

mercurial