hotspot/src/share/vm/runtime/vframeArray.cpp
changeset 7913 dd096a83bdbb
parent 7397 5b173b4ca846
child 9636 363ca5579aff
equal deleted inserted replaced
7901:ea3d83447861 7913:dd096a83bdbb
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   397     tty->cr();
   397     tty->cr();
   398     // method()->print_codes();
   398     // method()->print_codes();
   399   } else if (TraceDeoptimization) {
   399   } else if (TraceDeoptimization) {
   400     tty->print("     ");
   400     tty->print("     ");
   401     method()->print_value();
   401     method()->print_value();
   402     Bytecodes::Code code = Bytecodes::java_code_at(bcp);
   402     Bytecodes::Code code = Bytecodes::java_code_at(method(), bcp);
   403     int bci = method()->bci_from(bcp);
   403     int bci = method()->bci_from(bcp);
   404     tty->print(" - %s", Bytecodes::name(code));
   404     tty->print(" - %s", Bytecodes::name(code));
   405     tty->print(" @ bci %d ", bci);
   405     tty->print(" @ bci %d ", bci);
   406     tty->print_cr("sp = " PTR_FORMAT, iframe()->sp());
   406     tty->print_cr("sp = " PTR_FORMAT, iframe()->sp());
   407   }
   407   }