70 // Check if method has option and value set. If yes, overwrite value and return true,
71 // otherwise leave value unchanged and return false.
72 template<typename T>
73 static bool has_option_value(const methodHandle& method, const char* option, T& value);
74
75 // Fast check if there is any option available that compile control needs to know about
76 static bool has_any_option();
77
78 // Reads from string instead of file
79 static void parse_from_string(const char* command_string, void (*parser)(char*));
80
81 static void parse_from_line(char* line);
82 static void parse_compile_only(char * line);
83
84 // For updating the oracle file
85 static void append_comment_to_file(const char* message);
86 static void append_exclude_to_file(const methodHandle& method);
87
88 // Tells whether there are any methods to print for print_method_statistics()
89 static bool should_print_methods();
90 };
91
92 #endif // SHARE_VM_COMPILER_COMPILERORACLE_HPP
|
70 // Check if method has option and value set. If yes, overwrite value and return true,
71 // otherwise leave value unchanged and return false.
72 template<typename T>
73 static bool has_option_value(const methodHandle& method, const char* option, T& value);
74
75 // Fast check if there is any option available that compile control needs to know about
76 static bool has_any_option();
77
78 // Reads from string instead of file
79 static void parse_from_string(const char* command_string, void (*parser)(char*));
80
81 static void parse_from_line(char* line);
82 static void parse_compile_only(char * line);
83
84 // For updating the oracle file
85 static void append_comment_to_file(const char* message);
86 static void append_exclude_to_file(const methodHandle& method);
87
88 // Tells whether there are any methods to print for print_method_statistics()
89 static bool should_print_methods();
90
91 // Print all patterns for a command
92 static void print_inlinecommands(outputStream* st);
93 };
94
95 #endif // SHARE_VM_COMPILER_COMPILERORACLE_HPP
|