mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8055286: Extend CompileCommand=option to handle numeric parameters
Changed CompileCommand=option to handle "extended" parameters: Klass::method,type,flag,value. Types supported are bool, intx, and uintx. Reviewed-by: kvn, roland
This commit is contained in:
parent
da8d847087
commit
fbab0fe16e
2 changed files with 236 additions and 52 deletions
|
@ -64,6 +64,11 @@ class CompilerOracle : AllStatic {
|
|||
// Check to see if this method has option set for it
|
||||
static bool has_option_string(methodHandle method, const char * option);
|
||||
|
||||
// Check if method has option and value set. If yes, overwrite value and return true,
|
||||
// otherwise leave value unchanged and return false.
|
||||
template<typename T>
|
||||
static bool has_option_value(methodHandle method, const char* option, T& value);
|
||||
|
||||
// Reads from string instead of file
|
||||
static void parse_from_string(const char* command_string, void (*parser)(char*));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue