< prev index next >

src/hotspot/share/opto/compile.hpp

Print this page

        

*** 50,60 **** class Bundle; class C2Compiler; class CallGenerator; class CloneMap; class ConnectionGraph; - class IdealGraphPrinter; class InlineTree; class Int_Array; class LoadBarrierNode; class Matcher; class MachConstantNode; --- 50,59 ----
*** 94,106 **** enum LoopOptsMode { LoopOptsDefault, LoopOptsNone, LoopOptsShenandoahExpand, LoopOptsShenandoahPostExpand, - LoopOptsZBarrierInsertion, LoopOptsSkipSplitIf, ! LoopOptsVerify }; typedef unsigned int node_idx_t; class NodeCloneInfo { private: --- 93,105 ---- enum LoopOptsMode { LoopOptsDefault, LoopOptsNone, LoopOptsShenandoahExpand, LoopOptsShenandoahPostExpand, LoopOptsSkipSplitIf, ! LoopOptsVerify, ! LoopOptsLastRound }; typedef unsigned int node_idx_t; class NodeCloneInfo { private:
*** 657,667 **** void set_inlining_incrementally(bool z) { _inlining_incrementally = z; } int inlining_incrementally() const { return _inlining_incrementally; } void set_do_cleanup(bool z) { _do_cleanup = z; } int do_cleanup() const { return _do_cleanup; } void set_major_progress() { _major_progress++; } - void restore_major_progress(int progress) { _major_progress += progress; } void clear_major_progress() { _major_progress = 0; } int max_inline_size() const { return _max_inline_size; } void set_freq_inline_size(int n) { _freq_inline_size = n; } int freq_inline_size() const { return _freq_inline_size; } void set_max_inline_size(int n) { _max_inline_size = n; } --- 656,665 ----
*** 747,783 **** } #endif C->_latest_stage_start_counter.stamp(); } ! bool should_print(int level = 1) { ! #ifndef PRODUCT ! return (_printer && _printer->should_print(level)); ! #else ! return false; ! #endif ! } ! ! void print_method(CompilerPhaseType cpt, int level = 1, int idx = 0) { EventCompilerPhase event; if (event.should_commit()) { event.set_starttime(C->_latest_stage_start_counter); event.set_phase((u1) cpt); event.set_compileId(C->_compile_id); event.set_phaseLevel(level); event.commit(); } #ifndef PRODUCT ! if (should_print(level)) { ! char output[1024]; ! if (idx != 0) { ! sprintf(output, "%s:%d", CompilerPhaseTypeHelper::to_string(cpt), idx); ! } else { ! sprintf(output, "%s", CompilerPhaseTypeHelper::to_string(cpt)); ! } ! _printer->print_method(output, level); } #endif C->_latest_stage_start_counter.stamp(); } --- 745,768 ---- } #endif C->_latest_stage_start_counter.stamp(); } ! void print_method(CompilerPhaseType cpt, int level = 1) { EventCompilerPhase event; if (event.should_commit()) { event.set_starttime(C->_latest_stage_start_counter); event.set_phase((u1) cpt); event.set_compileId(C->_compile_id); event.set_phaseLevel(level); event.commit(); } + #ifndef PRODUCT ! if (_printer && _printer->should_print(level)) { ! _printer->print_method(CompilerPhaseTypeHelper::to_string(cpt), level); } #endif C->_latest_stage_start_counter.stamp(); }
< prev index next >