< prev index next >

src/share/vm/opto/compile.hpp

Print this page
rev 8910 : full patch for jfr

*** 1,7 **** /* ! * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 635,645 **** 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(); } --- 635,645 ---- 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(); }
*** 652,662 **** void end_method(int level = 1) { EventCompilerPhase event; if (event.should_commit()) { event.set_starttime(C->_latest_stage_start_counter); event.set_phase((u1) PHASE_END); ! event.set_compileID(C->_compile_id); event.set_phaseLevel(level); event.commit(); } #ifndef PRODUCT if (_printer) _printer->end_method(); --- 652,662 ---- void end_method(int level = 1) { EventCompilerPhase event; if (event.should_commit()) { event.set_starttime(C->_latest_stage_start_counter); event.set_phase((u1) PHASE_END); ! event.set_compileId(C->_compile_id); event.set_phaseLevel(level); event.commit(); } #ifndef PRODUCT if (_printer) _printer->end_method();
< prev index next >