src/share/vm/opto/compile.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff src/share/vm/opto/compile.hpp
src/share/vm/opto/compile.hpp
Print this page
rev 8995 : 8046155: JEP165: Compiler Control
Summary:
Reviewed-by:
*** 669,682 ****
// check the CompilerOracle for special behaviours for this compile
bool method_has_option(const char * option) {
return method() != NULL && method()->has_option(option);
}
! template<typename T>
! bool method_has_option_value(const char * option, T& value) {
! return method() != NULL && method()->has_option_value(option, value);
! }
#ifndef PRODUCT
bool trace_opto_output() const { return _trace_opto_output; }
bool parsed_irreducible_loop() const { return _parsed_irreducible_loop; }
void set_parsed_irreducible_loop(bool z) { _parsed_irreducible_loop = z; }
int _in_dump_cnt; // Required for dumping ir nodes.
--- 669,679 ----
// check the CompilerOracle for special behaviours for this compile
bool method_has_option(const char * option) {
return method() != NULL && method()->has_option(option);
}
!
#ifndef PRODUCT
bool trace_opto_output() const { return _trace_opto_output; }
bool parsed_irreducible_loop() const { return _parsed_irreducible_loop; }
void set_parsed_irreducible_loop(bool z) { _parsed_irreducible_loop = z; }
int _in_dump_cnt; // Required for dumping ir nodes.
*** 690,700 ****
Ticks _latest_stage_start_counter;
void begin_method() {
#ifndef PRODUCT
! if (_printer && _printer->should_print(_method)) {
_printer->begin_method(this);
}
#endif
C->_latest_stage_start_counter.stamp();
}
--- 687,697 ----
Ticks _latest_stage_start_counter;
void begin_method() {
#ifndef PRODUCT
! if (_printer && _printer->should_print(1)) {
_printer->begin_method(this);
}
#endif
C->_latest_stage_start_counter.stamp();
}
*** 709,719 ****
event.commit();
}
#ifndef PRODUCT
! if (_printer && _printer->should_print(_method)) {
_printer->print_method(this, CompilerPhaseTypeHelper::to_string(cpt), level);
}
#endif
C->_latest_stage_start_counter.stamp();
}
--- 706,716 ----
event.commit();
}
#ifndef PRODUCT
! if (_printer && _printer->should_print(level)) {
_printer->print_method(this, CompilerPhaseTypeHelper::to_string(cpt), level);
}
#endif
C->_latest_stage_start_counter.stamp();
}
*** 726,736 ****
event.set_compileID(C->_compile_id);
event.set_phaseLevel(level);
event.commit();
}
#ifndef PRODUCT
! if (_printer && _printer->should_print(_method)) {
_printer->end_method();
}
#endif
}
--- 723,733 ----
event.set_compileID(C->_compile_id);
event.set_phaseLevel(level);
event.commit();
}
#ifndef PRODUCT
! if (_printer && _printer->should_print(level)) {
_printer->end_method();
}
#endif
}
src/share/vm/opto/compile.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File