Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/src/share/vm/runtime/globals_ext.hpp
32285 views
/*1* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*22*/2324#ifndef SHARE_VM_RUNTIME_GLOBALS_EXT_HPP25#define SHARE_VM_RUNTIME_GLOBALS_EXT_HPP2627// globals_extension.hpp extension2829// Additional CommandLineFlags enum values30#define COMMANDLINEFLAG_EXT3132// Additional CommandLineFlagsWithType enum values33#define COMMANDLINEFLAGWITHTYPE_EXT343536// globals.cpp extension3738// Additional flag definitions39#define MATERIALIZE_FLAGS_EXT4041// Additional flag descriptors: see flagTable definition42#define FLAGTABLE_EXT434445// Default method implementations4647inline bool Flag::is_unlocker_ext() const {48return false;49}5051inline bool Flag::is_unlocked_ext() const {52return true;53}5455inline bool Flag::is_writeable_ext() const {56return false;57}5859inline bool Flag::is_external_ext() const {60return false;61}6263inline void Flag::get_locked_message_ext(char* buf, int buflen) const {64assert(buf != NULL, "Buffer cannot be NULL");65buf[0] = '\0';66}6768#endif // SHARE_VM_RUNTIME_GLOBALS_EXT_HPP697071