1100 methodHandle mh(THREAD, get_Method()); |
1100 methodHandle mh(THREAD, get_Method()); |
1101 return CompilerOracle::has_option_string(mh, option); |
1101 return CompilerOracle::has_option_string(mh, option); |
1102 } |
1102 } |
1103 |
1103 |
1104 // ------------------------------------------------------------------ |
1104 // ------------------------------------------------------------------ |
|
1105 // ciMethod::has_option_value |
|
1106 // |
|
1107 template<typename T> |
|
1108 bool ciMethod::has_option_value(const char* option, T& value) { |
|
1109 check_is_loaded(); |
|
1110 VM_ENTRY_MARK; |
|
1111 methodHandle mh(THREAD, get_Method()); |
|
1112 return CompilerOracle::has_option_value(mh, option, value); |
|
1113 } |
|
1114 // Explicit instantiation for all OptionTypes supported. |
|
1115 template bool ciMethod::has_option_value<intx>(const char* option, intx& value); |
|
1116 template bool ciMethod::has_option_value<uintx>(const char* option, uintx& value); |
|
1117 template bool ciMethod::has_option_value<bool>(const char* option, bool& value); |
|
1118 template bool ciMethod::has_option_value<ccstr>(const char* option, ccstr& value); |
|
1119 |
|
1120 // ------------------------------------------------------------------ |
1105 // ciMethod::can_be_compiled |
1121 // ciMethod::can_be_compiled |
1106 // |
1122 // |
1107 // Have previous compilations of this method succeeded? |
1123 // Have previous compilations of this method succeeded? |
1108 bool ciMethod::can_be_compiled() { |
1124 bool ciMethod::can_be_compiled() { |
1109 check_is_loaded(); |
1125 check_is_loaded(); |