mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +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
|
@ -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…
Add table
Add a link
Reference in a new issue