comparison src/share/vm/runtime/globals_extension.hpp @ 14909:4ca6dc0799b6

Backout jdk9 merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 01 Apr 2014 13:57:07 +0200
parents 1415a62ac8b2
children 89152779163c
comparison
equal deleted inserted replaced
14908:8db6e76cb658 14909:4ca6dc0799b6
1 /* 1 /*
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
29 #include "utilities/macros.hpp" 29 #include "utilities/macros.hpp"
30 #include "utilities/top.hpp" 30 #include "utilities/top.hpp"
31 31
32 // Construct enum of Flag_<cmdline-arg> constants. 32 // Construct enum of Flag_<cmdline-arg> constants.
33 33
34 // Parenthesis left off in the following for the enum decl below. 34 // Parens left off in the following for the enum decl below.
35 #define FLAG_MEMBER(flag) Flag_##flag 35 #define FLAG_MEMBER(flag) Flag_##flag
36 36
37 #define RUNTIME_PRODUCT_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBER(name), 37 #define RUNTIME_PRODUCT_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBER(name),
38 #define RUNTIME_PD_PRODUCT_FLAG_MEMBER(type, name, doc) FLAG_MEMBER(name), 38 #define RUNTIME_PD_PRODUCT_FLAG_MEMBER(type, name, doc) FLAG_MEMBER(name),
39 #define RUNTIME_DIAGNOSTIC_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBER(name), 39 #define RUNTIME_DIAGNOSTIC_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBER(name),
221 static void boolAtPut(CommandLineFlagWithType flag, bool value, Flag::Flags origin); 221 static void boolAtPut(CommandLineFlagWithType flag, bool value, Flag::Flags origin);
222 static void intxAtPut(CommandLineFlagWithType flag, intx value, Flag::Flags origin); 222 static void intxAtPut(CommandLineFlagWithType flag, intx value, Flag::Flags origin);
223 static void uintxAtPut(CommandLineFlagWithType flag, uintx value, Flag::Flags origin); 223 static void uintxAtPut(CommandLineFlagWithType flag, uintx value, Flag::Flags origin);
224 static void uint64_tAtPut(CommandLineFlagWithType flag, uint64_t value, Flag::Flags origin); 224 static void uint64_tAtPut(CommandLineFlagWithType flag, uint64_t value, Flag::Flags origin);
225 static void doubleAtPut(CommandLineFlagWithType flag, double value, Flag::Flags origin); 225 static void doubleAtPut(CommandLineFlagWithType flag, double value, Flag::Flags origin);
226 // Contract: Flag will make private copy of the incoming value
227 static void ccstrAtPut(CommandLineFlagWithType flag, ccstr value, Flag::Flags origin); 226 static void ccstrAtPut(CommandLineFlagWithType flag, ccstr value, Flag::Flags origin);
228 227
229 static bool is_default(CommandLineFlag flag); 228 static bool is_default(CommandLineFlag flag);
230 static bool is_ergo(CommandLineFlag flag); 229 static bool is_ergo(CommandLineFlag flag);
231 static bool is_cmdline(CommandLineFlag flag); 230 static bool is_cmdline(CommandLineFlag flag);