< prev index next >
src/share/vm/compiler/compileTask.hpp
Print this page
rev 13113 : imported patch 8181917-refactor-ul-logstream
*** 178,208 ****
bool is_osr_method = false, int osr_bci = -1, bool is_blocking = false,
const char* msg = NULL, bool short_form = false, bool cr = true);
public:
void print(outputStream* st = tty, const char* msg = NULL, bool short_form = false, bool cr = true);
! void print_ul(const char* msg = NULL){
! Log(jit, compilation) log;
! if (log.is_debug()) {
! print(log.debug_stream(), msg, /* short form */ true, /* cr */ true);
! }
! }
static void print(outputStream* st, const nmethod* nm, const char* msg = NULL, bool short_form = false, bool cr = true) {
print_impl(st, nm->method(), nm->compile_id(), nm->comp_level(),
nm->is_osr_method(), nm->is_osr_method() ? nm->osr_entry_bci() : -1, /*is_blocking*/ false,
msg, short_form, cr);
}
! static void print_ul(const nmethod* nm, const char* msg = NULL) {
! Log(jit, compilation) log;
! if (log.is_debug()) {
! print_impl(log.debug_stream(), nm->method(), nm->compile_id(),
! nm->comp_level(), nm->is_osr_method(),
! nm->is_osr_method() ? nm->osr_entry_bci() : -1,
! /*is_blocking*/ false,
! msg, /* short form */ true, /* cr */ true);
! }
! }
static void print_inline_indent(int inline_level, outputStream* st = tty);
void print_tty();
void print_line_on_error(outputStream* st, char* buf, int buflen);
--- 178,194 ----
bool is_osr_method = false, int osr_bci = -1, bool is_blocking = false,
const char* msg = NULL, bool short_form = false, bool cr = true);
public:
void print(outputStream* st = tty, const char* msg = NULL, bool short_form = false, bool cr = true);
! void print_ul(const char* msg = NULL);
static void print(outputStream* st, const nmethod* nm, const char* msg = NULL, bool short_form = false, bool cr = true) {
print_impl(st, nm->method(), nm->compile_id(), nm->comp_level(),
nm->is_osr_method(), nm->is_osr_method() ? nm->osr_entry_bci() : -1, /*is_blocking*/ false,
msg, short_form, cr);
}
! static void print_ul(const nmethod* nm, const char* msg = NULL);
static void print_inline_indent(int inline_level, outputStream* st = tty);
void print_tty();
void print_line_on_error(outputStream* st, char* buf, int buflen);
*** 220,233 ****
static void print_inlining_inner(outputStream* st, ciMethod* method, int inline_level, int bci, const char* msg = NULL);
static void print_inlining_tty(ciMethod* method, int inline_level, int bci, const char* msg = NULL) {
print_inlining_inner(tty, method, inline_level, bci, msg);
}
! static void print_inlining_ul(ciMethod* method, int inline_level, int bci, const char* msg = NULL) {
! Log(jit, inlining) log;
! if (log.is_debug()) {
! print_inlining_inner(log.debug_stream(), method, inline_level, bci, msg);
! }
! }
};
#endif // SHARE_VM_COMPILER_COMPILETASK_HPP
--- 206,214 ----
static void print_inlining_inner(outputStream* st, ciMethod* method, int inline_level, int bci, const char* msg = NULL);
static void print_inlining_tty(ciMethod* method, int inline_level, int bci, const char* msg = NULL) {
print_inlining_inner(tty, method, inline_level, bci, msg);
}
! static void print_inlining_ul(ciMethod* method, int inline_level, int bci, const char* msg = NULL);
};
#endif // SHARE_VM_COMPILER_COMPILETASK_HPP
< prev index next >