1.1 --- a/src/share/vm/opto/compile.hpp Wed Oct 14 16:43:13 2020 +0800 1.2 +++ b/src/share/vm/opto/compile.hpp Wed Oct 14 17:44:48 2020 +0800 1.3 @@ -31,6 +31,7 @@ 1.4 #include "code/exceptionHandlerTable.hpp" 1.5 #include "compiler/compilerOracle.hpp" 1.6 #include "compiler/compileBroker.hpp" 1.7 +#include "jfr/jfrEvents.hpp" 1.8 #include "libadt/dict.hpp" 1.9 #include "libadt/port.hpp" 1.10 #include "libadt/vectset.hpp" 1.11 @@ -41,7 +42,6 @@ 1.12 #include "opto/regmask.hpp" 1.13 #include "runtime/deoptimization.hpp" 1.14 #include "runtime/vmThread.hpp" 1.15 -#include "trace/tracing.hpp" 1.16 #include "utilities/ticks.hpp" 1.17 1.18 class Block; 1.19 @@ -637,7 +637,7 @@ 1.20 if (event.should_commit()) { 1.21 event.set_starttime(C->_latest_stage_start_counter); 1.22 event.set_phase((u1) cpt); 1.23 - event.set_compileID(C->_compile_id); 1.24 + event.set_compileId(C->_compile_id); 1.25 event.set_phaseLevel(level); 1.26 event.commit(); 1.27 } 1.28 @@ -654,7 +654,7 @@ 1.29 if (event.should_commit()) { 1.30 event.set_starttime(C->_latest_stage_start_counter); 1.31 event.set_phase((u1) PHASE_END); 1.32 - event.set_compileID(C->_compile_id); 1.33 + event.set_compileId(C->_compile_id); 1.34 event.set_phaseLevel(level); 1.35 event.commit(); 1.36 }