author | kbarrett |
Tue, 12 Jun 2018 18:12:59 -0400 | |
changeset 50532 | a18c60527166 |
parent 49857 | 31e07291ae29 |
child 53244 | 9807daeb47c4 |
permissions | -rw-r--r-- |
49731
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
1 |
/* |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
2 |
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
4 |
* |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
8 |
* |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
13 |
* accompanied this code). |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
14 |
* |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
18 |
* |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
21 |
* questions. |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
22 |
* |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
23 |
*/ |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
24 |
|
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
25 |
#ifndef SHARE_GC_G1_COMMANDLINEFLAGCONSTRAINTSG1_HPP |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
26 |
#define SHARE_GC_G1_COMMANDLINEFLAGCONSTRAINTSG1_HPP |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
27 |
|
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
28 |
#include "runtime/globals.hpp" |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
29 |
#include "utilities/globalDefinitions.hpp" |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
30 |
|
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
31 |
// G1 Flag Constraints |
49857
31e07291ae29
8081519: Split globals.hpp to factor out the Flag class
gziemski
parents:
49731
diff
changeset
|
32 |
JVMFlag::Error G1RSetRegionEntriesConstraintFunc(intx value, bool verbose); |
31e07291ae29
8081519: Split globals.hpp to factor out the Flag class
gziemski
parents:
49731
diff
changeset
|
33 |
JVMFlag::Error G1RSetSparseRegionEntriesConstraintFunc(intx value, bool verbose); |
31e07291ae29
8081519: Split globals.hpp to factor out the Flag class
gziemski
parents:
49731
diff
changeset
|
34 |
JVMFlag::Error G1HeapRegionSizeConstraintFunc(size_t value, bool verbose); |
31e07291ae29
8081519: Split globals.hpp to factor out the Flag class
gziemski
parents:
49731
diff
changeset
|
35 |
JVMFlag::Error G1NewSizePercentConstraintFunc(uintx value, bool verbose); |
31e07291ae29
8081519: Split globals.hpp to factor out the Flag class
gziemski
parents:
49731
diff
changeset
|
36 |
JVMFlag::Error G1MaxNewSizePercentConstraintFunc(uintx value, bool verbose); |
49731
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
37 |
|
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
38 |
// G1 Subconstraints |
49857
31e07291ae29
8081519: Split globals.hpp to factor out the Flag class
gziemski
parents:
49731
diff
changeset
|
39 |
JVMFlag::Error MaxGCPauseMillisConstraintFuncG1(uintx value, bool verbose); |
31e07291ae29
8081519: Split globals.hpp to factor out the Flag class
gziemski
parents:
49731
diff
changeset
|
40 |
JVMFlag::Error GCPauseIntervalMillisConstraintFuncG1(uintx value, bool verbose); |
31e07291ae29
8081519: Split globals.hpp to factor out the Flag class
gziemski
parents:
49731
diff
changeset
|
41 |
JVMFlag::Error MaxSizeForHeapAlignmentG1(const char* name, size_t value, bool verbose); |
31e07291ae29
8081519: Split globals.hpp to factor out the Flag class
gziemski
parents:
49731
diff
changeset
|
42 |
JVMFlag::Error NewSizeConstraintFuncG1(size_t value, bool verbose); |
49731
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
43 |
|
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
44 |
size_t MaxSizeForHeapAlignmentG1(); |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
45 |
|
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
46 |
#endif // SHARE_GC_SHARED_COMMANDLINEFLAGCONSTRAINTSG1_HPP |