Mercurial > hg > graal-jvmci-8
comparison src/share/vm/ci/ciMethod.cpp @ 20430:119875f0fc67
8056964: JDK-8055286 changes are incomplete.
Summary: added ccstr and ccstrlist types to compilerOracle 'option' command
Reviewed-by: roland
author | kvn |
---|---|
date | Tue, 02 Sep 2014 10:26:48 -0700 |
parents | 0bf37f737702 |
children | 6a528388c7da |
comparison
equal
deleted
inserted
replaced
20429:14b356bbca27 | 20430:119875f0fc67 |
---|---|
1104 methodHandle mh(THREAD, get_Method()); | 1104 methodHandle mh(THREAD, get_Method()); |
1105 return CompilerOracle::has_option_string(mh, option); | 1105 return CompilerOracle::has_option_string(mh, option); |
1106 } | 1106 } |
1107 | 1107 |
1108 // ------------------------------------------------------------------ | 1108 // ------------------------------------------------------------------ |
1109 // ciMethod::has_option_value | |
1110 // | |
1111 template<typename T> | |
1112 bool ciMethod::has_option_value(const char* option, T& value) { | |
1113 check_is_loaded(); | |
1114 VM_ENTRY_MARK; | |
1115 methodHandle mh(THREAD, get_Method()); | |
1116 return CompilerOracle::has_option_value(mh, option, value); | |
1117 } | |
1118 // Explicit instantiation for all OptionTypes supported. | |
1119 template bool ciMethod::has_option_value<intx>(const char* option, intx& value); | |
1120 template bool ciMethod::has_option_value<uintx>(const char* option, uintx& value); | |
1121 template bool ciMethod::has_option_value<bool>(const char* option, bool& value); | |
1122 template bool ciMethod::has_option_value<ccstr>(const char* option, ccstr& value); | |
1123 | |
1124 // ------------------------------------------------------------------ | |
1109 // ciMethod::can_be_compiled | 1125 // ciMethod::can_be_compiled |
1110 // | 1126 // |
1111 // Have previous compilations of this method succeeded? | 1127 // Have previous compilations of this method succeeded? |
1112 bool ciMethod::can_be_compiled() { | 1128 bool ciMethod::can_be_compiled() { |
1113 check_is_loaded(); | 1129 check_is_loaded(); |