Mercurial > hg > truffle
comparison src/share/vm/compiler/compilerOracle.hpp @ 20429:14b356bbca27
8055286: Extend CompileCommand=option to handle numeric parameters
Summary: Changed CompileCommand=option to handle "extended" parameters: Klass::method,type,flag,value. Types supported are bool, intx, and uintx.
Reviewed-by: kvn, roland
author | zmajo |
---|---|
date | Fri, 29 Aug 2014 15:32:16 +0200 |
parents | 1e76463170b3 |
children |
comparison
equal
deleted
inserted
replaced
20428:4d8781a35525 | 20429:14b356bbca27 |
---|---|
62 static bool should_break_at(methodHandle method); | 62 static bool should_break_at(methodHandle method); |
63 | 63 |
64 // Check to see if this method has option set for it | 64 // Check to see if this method has option set for it |
65 static bool has_option_string(methodHandle method, const char * option); | 65 static bool has_option_string(methodHandle method, const char * option); |
66 | 66 |
67 // Check if method has option and value set. If yes, overwrite value and return true, | |
68 // otherwise leave value unchanged and return false. | |
69 template<typename T> | |
70 static bool has_option_value(methodHandle method, const char* option, T& value); | |
71 | |
67 // Reads from string instead of file | 72 // Reads from string instead of file |
68 static void parse_from_string(const char* command_string, void (*parser)(char*)); | 73 static void parse_from_string(const char* command_string, void (*parser)(char*)); |
69 | 74 |
70 static void parse_from_line(char* line); | 75 static void parse_from_line(char* line); |
71 static void parse_compile_only(char * line); | 76 static void parse_compile_only(char * line); |