--- old/src/share/vm/ci/ciMethod.cpp 2015-09-25 16:23:20.166913975 +0200 +++ new/src/share/vm/ci/ciMethod.cpp 2015-09-25 16:23:20.050913979 +0200 @@ -35,7 +35,6 @@ #include "ci/ciUtilities.hpp" #include "classfile/systemDictionary.hpp" #include "compiler/abstractCompiler.hpp" -#include "compiler/compilerOracle.hpp" #include "compiler/methodLiveness.hpp" #include "interpreter/interpreter.hpp" #include "interpreter/linkResolver.hpp" @@ -1044,51 +1043,6 @@ } // ------------------------------------------------------------------ -// ciMethod::should_inline -// -// Should this method be inlined during compilation? -bool ciMethod::should_inline() { - check_is_loaded(); - VM_ENTRY_MARK; - methodHandle mh(THREAD, get_Method()); - return CompilerOracle::should_inline(mh); -} - -// ------------------------------------------------------------------ -// ciMethod::should_not_inline -// -// Should this method be disallowed from inlining during compilation? -bool ciMethod::should_not_inline() { - check_is_loaded(); - VM_ENTRY_MARK; - methodHandle mh(THREAD, get_Method()); - return CompilerOracle::should_not_inline(mh); -} - -// ------------------------------------------------------------------ -// ciMethod::should_print_assembly -// -// Should the compiler print the generated code for this method? -bool ciMethod::should_print_assembly() { - check_is_loaded(); - VM_ENTRY_MARK; - methodHandle mh(THREAD, get_Method()); - return CompilerOracle::should_print(mh); -} - -// ------------------------------------------------------------------ -// ciMethod::break_at_execute -// -// Should the compiler insert a breakpoint into the generated code -// method? -bool ciMethod::break_at_execute() { - check_is_loaded(); - VM_ENTRY_MARK; - methodHandle mh(THREAD, get_Method()); - return CompilerOracle::should_break_at(mh); -} - -// ------------------------------------------------------------------ // ciMethod::has_option // bool ciMethod::has_option(const char* option) { @@ -1101,20 +1055,12 @@ // ------------------------------------------------------------------ // ciMethod::has_option_value // -template -bool ciMethod::has_option_value(const char* option, T& value) { +bool ciMethod::has_option_value(const char* option, double& value) { check_is_loaded(); VM_ENTRY_MARK; methodHandle mh(THREAD, get_Method()); return CompilerOracle::has_option_value(mh, option, value); } -// Explicit instantiation for all OptionTypes supported. -template bool ciMethod::has_option_value(const char* option, intx& value); -template bool ciMethod::has_option_value(const char* option, uintx& value); -template bool ciMethod::has_option_value(const char* option, bool& value); -template bool ciMethod::has_option_value(const char* option, ccstr& value); -template bool ciMethod::has_option_value(const char* option, double& value); - // ------------------------------------------------------------------ // ciMethod::can_be_compiled //