src/share/vm/ci/ciMethod.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/ci/ciMethod.hpp

src/share/vm/ci/ciMethod.hpp

Print this page
rev 9030 : 8137167: JEP165: Compiler Control: Implementation task
Summary:
Reviewed-by:

*** 102,113 **** void print_impl(outputStream* st); void load_code(); - void check_is_loaded() const { assert(is_loaded(), "not loaded"); } - bool ensure_method_data(methodHandle h_m); void code_at_put(int bci, Bytecodes::Code code) { Bytecodes::check(code); assert(0 <= bci && bci < code_size(), "valid bci"); --- 102,111 ----
*** 118,127 **** --- 116,127 ---- // Check bytecode and profile data collected are compatible void assert_virtual_call_type_ok(int bci); void assert_call_type_ok(int bci); public: + void check_is_loaded() const { assert(is_loaded(), "not loaded"); } + // Basic method information. ciFlags flags() const { check_is_loaded(); return _flags; } ciSymbol* name() const { return _name; } ciInstanceKlass* holder() const { return _holder; } ciMethodData* method_data();
*** 263,280 **** ciMethod* resolve_invoke(ciKlass* caller, ciKlass* exact_receiver, bool check_access = true); // Find the proper vtable index to invoke this method. int resolve_vtable_index(ciKlass* caller, ciKlass* receiver); - // Compilation directives - bool should_inline(); - bool should_not_inline(); - bool should_print_assembly(); - bool break_at_execute(); bool has_option(const char *option); ! template<typename T> ! bool has_option_value(const char* option, T& value); bool can_be_compiled(); bool can_be_osr_compiled(int entry_bci); void set_not_compilable(const char* reason = NULL); bool has_compiled_code(); void log_nmethod_identity(xmlStream* log); --- 263,274 ---- ciMethod* resolve_invoke(ciKlass* caller, ciKlass* exact_receiver, bool check_access = true); // Find the proper vtable index to invoke this method. int resolve_vtable_index(ciKlass* caller, ciKlass* receiver); bool has_option(const char *option); ! bool has_option_value(const char* option, double& value); bool can_be_compiled(); bool can_be_osr_compiled(int entry_bci); void set_not_compilable(const char* reason = NULL); bool has_compiled_code(); void log_nmethod_identity(xmlStream* log);
src/share/vm/ci/ciMethod.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File