phh@3303: /* jmelvin@3650: * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. phh@3303: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. phh@3303: * phh@3303: * This code is free software; you can redistribute it and/or modify it phh@3303: * under the terms of the GNU General Public License version 2 only, as phh@3303: * published by the Free Software Foundation. phh@3303: * phh@3303: * This code is distributed in the hope that it will be useful, but WITHOUT phh@3303: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or phh@3303: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License phh@3303: * version 2 for more details (a copy is included in the LICENSE file that phh@3303: * accompanied this code). phh@3303: * phh@3303: * You should have received a copy of the GNU General Public License version phh@3303: * 2 along with this work; if not, write to the Free Software Foundation, phh@3303: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. phh@3303: * phh@3303: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA phh@3303: * or visit www.oracle.com if you need additional information or have any phh@3303: * questions. phh@3303: * phh@3303: */ phh@3303: phh@3303: #ifndef SHARE_VM_RUNTIME_GLOBALS_EXT_HPP phh@3303: #define SHARE_VM_RUNTIME_GLOBALS_EXT_HPP phh@3303: phh@3303: // globals_extension.hpp extension phh@3303: phh@3303: // Additional CommandLineFlags enum values phh@3303: #define COMMANDLINEFLAG_EXT phh@3303: phh@3303: // Additional CommandLineFlagsWithType enum values phh@3303: #define COMMANDLINEFLAGWITHTYPE_EXT phh@3303: phh@3303: phh@3303: // globals.cpp extension phh@3303: phh@3303: // Additional flag definitions phh@3303: #define MATERIALIZE_FLAGS_EXT phh@3303: phh@3303: // Additional flag descriptors: see flagTable definition phh@3303: #define FLAGTABLE_EXT phh@3303: phh@3303: phh@3303: // Default method implementations phh@3303: phh@3303: inline bool Flag::is_unlocker_ext() const { phh@3303: return false; phh@3303: } phh@3303: phh@3303: inline bool Flag::is_unlocked_ext() const { phh@3303: return true; phh@3303: } phh@3303: phh@3342: inline bool Flag::is_writeable_ext() const { phh@3342: return false; phh@3342: } phh@3342: phh@3342: inline bool Flag::is_external_ext() const { phh@3342: return false; phh@3342: } phh@3342: jmelvin@3650: inline void Flag::get_locked_message_ext(char* buf, int buflen) const { jmelvin@3650: assert(buf != NULL, "Buffer cannot be NULL"); jmelvin@3650: buf[0] = '\0'; jmelvin@3650: } jmelvin@3650: phh@3303: #endif // SHARE_VM_RUNTIME_GLOBALS_EXT_HPP