equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2014, 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. |
457 void print_inlining_reset(); |
457 void print_inlining_reset(); |
458 |
458 |
459 void print_inlining(ciMethod* method, int inline_level, int bci, const char* msg = NULL) { |
459 void print_inlining(ciMethod* method, int inline_level, int bci, const char* msg = NULL) { |
460 stringStream ss; |
460 stringStream ss; |
461 CompileTask::print_inlining(&ss, method, inline_level, bci, msg); |
461 CompileTask::print_inlining(&ss, method, inline_level, bci, msg); |
462 print_inlining_stream()->print(ss.as_string()); |
462 print_inlining_stream()->print("%s", ss.as_string()); |
463 } |
463 } |
464 |
464 |
465 void log_late_inline(CallGenerator* cg); |
465 void log_late_inline(CallGenerator* cg); |
466 void log_inline_id(CallGenerator* cg); |
466 void log_inline_id(CallGenerator* cg); |
467 void log_inline_failure(const char* msg); |
467 void log_inline_failure(const char* msg); |