mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8255216: Change _directive->BreakAtCompileOption to env()->break_at_compile()
Reviewed-by: kvn, phh
This commit is contained in:
parent
5aca934c98
commit
7be9113b1c
3 changed files with 4 additions and 4 deletions
|
@ -446,7 +446,7 @@ void Compilation::compile_method() {
|
||||||
dependency_recorder()->assert_evol_method(method());
|
dependency_recorder()->assert_evol_method(method());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (directive()->BreakAtCompileOption) {
|
if (env()->break_at_compile()) {
|
||||||
BREAKPOINT;
|
BREAKPOINT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2224,7 +2224,7 @@ void CompileBroker::invoke_compiler_on_method(CompileTask* task) {
|
||||||
DTRACE_METHOD_COMPILE_BEGIN_PROBE(method, compiler_name(task_level));
|
DTRACE_METHOD_COMPILE_BEGIN_PROBE(method, compiler_name(task_level));
|
||||||
}
|
}
|
||||||
|
|
||||||
should_break = directive->BreakAtExecuteOption || task->check_break_at_flags();
|
should_break = directive->BreakAtCompileOption || task->check_break_at_flags();
|
||||||
if (should_log && !directive->LogOption) {
|
if (should_log && !directive->LogOption) {
|
||||||
should_log = false;
|
should_log = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -503,7 +503,7 @@ void Compile::print_compile_messages() {
|
||||||
tty->print_cr("** Bailout: Recompile without boxing elimination **");
|
tty->print_cr("** Bailout: Recompile without boxing elimination **");
|
||||||
tty->print_cr("*********************************************************");
|
tty->print_cr("*********************************************************");
|
||||||
}
|
}
|
||||||
if (C->directive()->BreakAtCompileOption) {
|
if (env()->break_at_compile()) {
|
||||||
// Open the debugger when compiling this method.
|
// Open the debugger when compiling this method.
|
||||||
tty->print("### Breaking when compiling: ");
|
tty->print("### Breaking when compiling: ");
|
||||||
method()->print_short_name();
|
method()->print_short_name();
|
||||||
|
@ -2099,7 +2099,7 @@ void Compile::Optimize() {
|
||||||
TracePhase tp("optimizer", &timers[_t_optimizer]);
|
TracePhase tp("optimizer", &timers[_t_optimizer]);
|
||||||
|
|
||||||
#ifndef PRODUCT
|
#ifndef PRODUCT
|
||||||
if (_directive->BreakAtCompileOption) {
|
if (env()->break_at_compile()) {
|
||||||
BREAKPOINT;
|
BREAKPOINT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue