8255216: Change _directive->BreakAtCompileOption to env()->break_at_compile()
Reviewed-by: kvn, phh
This commit is contained in:
parent
5aca934c98
commit
7be9113b1c
@ -446,7 +446,7 @@ void Compilation::compile_method() {
|
||||
dependency_recorder()->assert_evol_method(method());
|
||||
}
|
||||
|
||||
if (directive()->BreakAtCompileOption) {
|
||||
if (env()->break_at_compile()) {
|
||||
BREAKPOINT;
|
||||
}
|
||||
|
||||
|
@ -2224,7 +2224,7 @@ void CompileBroker::invoke_compiler_on_method(CompileTask* task) {
|
||||
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) {
|
||||
should_log = false;
|
||||
}
|
||||
|
@ -503,7 +503,7 @@ void Compile::print_compile_messages() {
|
||||
tty->print_cr("** Bailout: Recompile without boxing elimination **");
|
||||
tty->print_cr("*********************************************************");
|
||||
}
|
||||
if (C->directive()->BreakAtCompileOption) {
|
||||
if (env()->break_at_compile()) {
|
||||
// Open the debugger when compiling this method.
|
||||
tty->print("### Breaking when compiling: ");
|
||||
method()->print_short_name();
|
||||
@ -2099,7 +2099,7 @@ void Compile::Optimize() {
|
||||
TracePhase tp("optimizer", &timers[_t_optimizer]);
|
||||
|
||||
#ifndef PRODUCT
|
||||
if (_directive->BreakAtCompileOption) {
|
||||
if (env()->break_at_compile()) {
|
||||
BREAKPOINT;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user