mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8056964: JDK-8055286 changes are incomplete
Added ccstr and ccstrlist types to compilerOracle 'option' command Reviewed-by: roland
This commit is contained in:
parent
4c9f643e10
commit
8b93fb04cd
4 changed files with 86 additions and 10 deletions
|
@ -1101,6 +1101,22 @@ bool ciMethod::has_option(const char* option) {
|
|||
return CompilerOracle::has_option_string(mh, option);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// ciMethod::has_option_value
|
||||
//
|
||||
template<typename T>
|
||||
bool ciMethod::has_option_value(const char* option, T& 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<intx>(const char* option, intx& value);
|
||||
template bool ciMethod::has_option_value<uintx>(const char* option, uintx& value);
|
||||
template bool ciMethod::has_option_value<bool>(const char* option, bool& value);
|
||||
template bool ciMethod::has_option_value<ccstr>(const char* option, ccstr& value);
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// ciMethod::can_be_compiled
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue