src/share/vm/runtime/globals_ext.hpp

Thu, 21 Nov 2013 12:30:35 -0800

author
kvn
date
Thu, 21 Nov 2013 12:30:35 -0800
changeset 6485
da862781b584
parent 3650
80fe40862b02
child 6876
710a3c8b516e
permissions
-rw-r--r--

Merge

phh@3303 1 /*
jmelvin@3650 2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
phh@3303 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
phh@3303 4 *
phh@3303 5 * This code is free software; you can redistribute it and/or modify it
phh@3303 6 * under the terms of the GNU General Public License version 2 only, as
phh@3303 7 * published by the Free Software Foundation.
phh@3303 8 *
phh@3303 9 * This code is distributed in the hope that it will be useful, but WITHOUT
phh@3303 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
phh@3303 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
phh@3303 12 * version 2 for more details (a copy is included in the LICENSE file that
phh@3303 13 * accompanied this code).
phh@3303 14 *
phh@3303 15 * You should have received a copy of the GNU General Public License version
phh@3303 16 * 2 along with this work; if not, write to the Free Software Foundation,
phh@3303 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
phh@3303 18 *
phh@3303 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
phh@3303 20 * or visit www.oracle.com if you need additional information or have any
phh@3303 21 * questions.
phh@3303 22 *
phh@3303 23 */
phh@3303 24
phh@3303 25 #ifndef SHARE_VM_RUNTIME_GLOBALS_EXT_HPP
phh@3303 26 #define SHARE_VM_RUNTIME_GLOBALS_EXT_HPP
phh@3303 27
phh@3303 28 // globals_extension.hpp extension
phh@3303 29
phh@3303 30 // Additional CommandLineFlags enum values
phh@3303 31 #define COMMANDLINEFLAG_EXT
phh@3303 32
phh@3303 33 // Additional CommandLineFlagsWithType enum values
phh@3303 34 #define COMMANDLINEFLAGWITHTYPE_EXT
phh@3303 35
phh@3303 36
phh@3303 37 // globals.cpp extension
phh@3303 38
phh@3303 39 // Additional flag definitions
phh@3303 40 #define MATERIALIZE_FLAGS_EXT
phh@3303 41
phh@3303 42 // Additional flag descriptors: see flagTable definition
phh@3303 43 #define FLAGTABLE_EXT
phh@3303 44
phh@3303 45
phh@3303 46 // Default method implementations
phh@3303 47
phh@3303 48 inline bool Flag::is_unlocker_ext() const {
phh@3303 49 return false;
phh@3303 50 }
phh@3303 51
phh@3303 52 inline bool Flag::is_unlocked_ext() const {
phh@3303 53 return true;
phh@3303 54 }
phh@3303 55
phh@3342 56 inline bool Flag::is_writeable_ext() const {
phh@3342 57 return false;
phh@3342 58 }
phh@3342 59
phh@3342 60 inline bool Flag::is_external_ext() const {
phh@3342 61 return false;
phh@3342 62 }
phh@3342 63
jmelvin@3650 64 inline void Flag::get_locked_message_ext(char* buf, int buflen) const {
jmelvin@3650 65 assert(buf != NULL, "Buffer cannot be NULL");
jmelvin@3650 66 buf[0] = '\0';
jmelvin@3650 67 }
jmelvin@3650 68
phh@3303 69 #endif // SHARE_VM_RUNTIME_GLOBALS_EXT_HPP

mercurial