1 /* |
1 /* |
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2012, 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. |
23 */ |
23 */ |
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 #include "compiler/compileLog.hpp" |
26 #include "compiler/compileLog.hpp" |
27 #include "interpreter/linkResolver.hpp" |
27 #include "interpreter/linkResolver.hpp" |
28 #include "oops/methodOop.hpp" |
28 #include "oops/method.hpp" |
29 #include "opto/addnode.hpp" |
29 #include "opto/addnode.hpp" |
30 #include "opto/idealGraphPrinter.hpp" |
30 #include "opto/idealGraphPrinter.hpp" |
31 #include "opto/locknode.hpp" |
31 #include "opto/locknode.hpp" |
32 #include "opto/memnode.hpp" |
32 #include "opto/memnode.hpp" |
33 #include "opto/parse.hpp" |
33 #include "opto/parse.hpp" |
490 C->record_method_not_compilable(_flow->failure_reason()); |
490 C->record_method_not_compilable(_flow->failure_reason()); |
491 #ifndef PRODUCT |
491 #ifndef PRODUCT |
492 if (PrintOpto && (Verbose || WizardMode)) { |
492 if (PrintOpto && (Verbose || WizardMode)) { |
493 tty->print_cr("OSR @%d type flow bailout: %s", _entry_bci, _flow->failure_reason()); |
493 tty->print_cr("OSR @%d type flow bailout: %s", _entry_bci, _flow->failure_reason()); |
494 if (Verbose) { |
494 if (Verbose) { |
495 method()->print_oop(); |
495 method()->print(); |
496 method()->print_codes(); |
496 method()->print_codes(); |
497 _flow->print(); |
497 _flow->print(); |
498 } |
498 } |
499 } |
499 } |
500 #endif |
500 #endif |