Mercurial > hg > truffle
annotate src/share/vm/runtime/globals_ext.hpp @ 6862:8a5ea0a9ccc4
7127708: G1: change task num types from int to uint in concurrent mark
Summary: Change the type of various task num fields, parameters etc to unsigned and rename them to be more consistent with the other collectors. Code changes were also reviewed by Vitaly Davidovich.
Reviewed-by: johnc
Contributed-by: Kaushik Srenevasan <kaushik@twitter.com>
author | johnc |
---|---|
date | Sat, 06 Oct 2012 01:17:44 -0700 |
parents | 80fe40862b02 |
children |
rev | line source |
---|---|
4107
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
1 /* |
5947
80fe40862b02
7144328: Improper commandlines for -XX:+-UnlockCommercialFeatures require proper warning/error messages
jmelvin
parents:
4715
diff
changeset
|
2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
4107
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
4 * |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
5 * This code is free software; you can redistribute it and/or modify it |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License version 2 only, as |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
7 * published by the Free Software Foundation. |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
8 * |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
13 * accompanied this code). |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
14 * |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License version |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
18 * |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
21 * questions. |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
22 * |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
23 */ |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
24 |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
25 #ifndef SHARE_VM_RUNTIME_GLOBALS_EXT_HPP |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
26 #define SHARE_VM_RUNTIME_GLOBALS_EXT_HPP |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
27 |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
28 // globals_extension.hpp extension |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
29 |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
30 // Additional CommandLineFlags enum values |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
31 #define COMMANDLINEFLAG_EXT |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
32 |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
33 // Additional CommandLineFlagsWithType enum values |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
34 #define COMMANDLINEFLAGWITHTYPE_EXT |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
35 |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
36 |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
37 // globals.cpp extension |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
38 |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
39 // Additional flag definitions |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
40 #define MATERIALIZE_FLAGS_EXT |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
41 |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
42 // Additional flag descriptors: see flagTable definition |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
43 #define FLAGTABLE_EXT |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
44 |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
45 |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
46 // Default method implementations |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
47 |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
48 inline bool Flag::is_unlocker_ext() const { |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
49 return false; |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
50 } |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
51 |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
52 inline bool Flag::is_unlocked_ext() const { |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
53 return true; |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
54 } |
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
55 |
4715
6c995c08526c
7122880: Extend vendor-specific command interface to include manageable switches
phh
parents:
4107
diff
changeset
|
56 inline bool Flag::is_writeable_ext() const { |
6c995c08526c
7122880: Extend vendor-specific command interface to include manageable switches
phh
parents:
4107
diff
changeset
|
57 return false; |
6c995c08526c
7122880: Extend vendor-specific command interface to include manageable switches
phh
parents:
4107
diff
changeset
|
58 } |
6c995c08526c
7122880: Extend vendor-specific command interface to include manageable switches
phh
parents:
4107
diff
changeset
|
59 |
6c995c08526c
7122880: Extend vendor-specific command interface to include manageable switches
phh
parents:
4107
diff
changeset
|
60 inline bool Flag::is_external_ext() const { |
6c995c08526c
7122880: Extend vendor-specific command interface to include manageable switches
phh
parents:
4107
diff
changeset
|
61 return false; |
6c995c08526c
7122880: Extend vendor-specific command interface to include manageable switches
phh
parents:
4107
diff
changeset
|
62 } |
6c995c08526c
7122880: Extend vendor-specific command interface to include manageable switches
phh
parents:
4107
diff
changeset
|
63 |
5947
80fe40862b02
7144328: Improper commandlines for -XX:+-UnlockCommercialFeatures require proper warning/error messages
jmelvin
parents:
4715
diff
changeset
|
64 inline void Flag::get_locked_message_ext(char* buf, int buflen) const { |
80fe40862b02
7144328: Improper commandlines for -XX:+-UnlockCommercialFeatures require proper warning/error messages
jmelvin
parents:
4715
diff
changeset
|
65 assert(buf != NULL, "Buffer cannot be NULL"); |
80fe40862b02
7144328: Improper commandlines for -XX:+-UnlockCommercialFeatures require proper warning/error messages
jmelvin
parents:
4715
diff
changeset
|
66 buf[0] = '\0'; |
80fe40862b02
7144328: Improper commandlines for -XX:+-UnlockCommercialFeatures require proper warning/error messages
jmelvin
parents:
4715
diff
changeset
|
67 } |
80fe40862b02
7144328: Improper commandlines for -XX:+-UnlockCommercialFeatures require proper warning/error messages
jmelvin
parents:
4715
diff
changeset
|
68 |
4107
cd00eaeebef6
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
phh
parents:
diff
changeset
|
69 #endif // SHARE_VM_RUNTIME_GLOBALS_EXT_HPP |