/* * Copyright (c) 1998, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. *
*/
// Tells whether we should print the assembly for this method staticbool should_print(const methodHandle& method);
// Tells whether we should log the compilation data for this method staticbool should_log(const methodHandle& method);
// Tells whether to break when compiling method staticbool should_break_at(const methodHandle& method);
// Tells whether there are any methods to print for print_method_statistics() staticbool should_print_methods();
// Tags the method as blackhole candidate, if possible. staticvoid tag_blackhole_if_possible(const methodHandle& method);
// A wrapper for checking bool options staticbool has_option(const methodHandle& method, enum CompileCommand 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> staticbool has_option_value(const methodHandle& method, enum CompileCommand option, T& value);
// This check is currently only needed by whitebox API template<typename T> staticbool option_matches_type(enum CompileCommand option, T& value);
// Reads from string instead of file staticvoid parse_from_string(constchar* option_string, void (*parser)(char*)); staticvoid parse_from_line(char* line); staticvoid parse_compile_only(char* line);
// Fast check if there is any option set that compile control needs to know about staticbool has_any_command_set();
// convert a string to a proper compilecommand option - used from whitebox. // returns CompileCommand::Unknown on names not matching an option. staticenum CompileCommand string_to_option(constchar* name);
// convert a string to a proper compilecommand option // returns CompileCommand::Unknown if name is not an option. staticenum CompileCommand parse_option_name(constchar* name);
// convert a string to a proper option type // returns OptionType::Unknown on strings not matching an option type. staticenum OptionType parse_option_type(constchar* type_str);
};
#endif// SHARE_COMPILER_COMPILERORACLE_HPP
¤ Dauer der Verarbeitung: 0.28 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.