mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8135067: Preparatory refactorings for compiler control
Extract CompileTask and clean up Reviewed-by: roland
This commit is contained in:
parent
d7b8032741
commit
559bf7ef6e
15 changed files with 553 additions and 499 deletions
|
@ -848,10 +848,10 @@ void nmethod::print_on(outputStream* st, const char* msg) const {
|
|||
if (st != NULL) {
|
||||
ttyLocker ttyl;
|
||||
if (WizardMode) {
|
||||
CompileTask::print_compilation(st, this, msg, /*short_form:*/ true);
|
||||
CompileTask::print(st, this, msg, /*short_form:*/ true);
|
||||
st->print_cr(" (" INTPTR_FORMAT ")", this);
|
||||
} else {
|
||||
CompileTask::print_compilation(st, this, msg, /*short_form:*/ false);
|
||||
CompileTask::print(st, this, msg, /*short_form:*/ false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue