< prev index next >

src/hotspot/share/code/nmethod.hpp

Print this page

*** 24,33 **** --- 24,34 ---- #ifndef SHARE_CODE_NMETHOD_HPP #define SHARE_CODE_NMETHOD_HPP #include "code/compiledMethod.hpp" + #include "compiler/compilerDefinitions.hpp" class DepChange; class DirectiveSet; class DebugInformationRecorder;
*** 378,388 **** assert(!has_flushed_dependencies(), "should only happen once"); _has_flushed_dependencies = 1; } int comp_level() const { return _comp_level; } ! void unlink_from_method(bool acquire_lock); // Support for oops in scopes and relocs: // Note: index 0 is reserved for null. oop oop_at(int index) const; --- 379,389 ---- assert(!has_flushed_dependencies(), "should only happen once"); _has_flushed_dependencies = 1; } int comp_level() const { return _comp_level; } ! bool is_c1() const { return CompLevel_simple <= _comp_level && _comp_level <= CompLevel_full_profile; } void unlink_from_method(bool acquire_lock); // Support for oops in scopes and relocs: // Note: index 0 is reserved for null. oop oop_at(int index) const;
< prev index next >