author | tschatzl |
Wed, 18 Apr 2018 11:36:48 +0200 | |
changeset 49806 | 2d62570a615c |
parent 49731 | 635838cb8b3a |
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 |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
32 |
Flag::Error G1RSetRegionEntriesConstraintFunc(intx value, bool verbose); |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
33 |
Flag::Error G1RSetSparseRegionEntriesConstraintFunc(intx value, bool verbose); |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
34 |
Flag::Error G1HeapRegionSizeConstraintFunc(size_t value, bool verbose); |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
35 |
Flag::Error G1NewSizePercentConstraintFunc(uintx value, bool verbose); |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
36 |
Flag::Error G1MaxNewSizePercentConstraintFunc(uintx value, bool verbose); |
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 |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
39 |
Flag::Error MaxGCPauseMillisConstraintFuncG1(uintx value, bool verbose); |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
40 |
Flag::Error GCPauseIntervalMillisConstraintFuncG1(uintx value, bool verbose); |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
41 |
Flag::Error MaxSizeForHeapAlignmentG1(const char* name, size_t value, bool verbose); |
635838cb8b3a
8201168: Move GC command line constraint functions to GC specific files
stefank
parents:
diff
changeset
|
42 |
Flag::Error NewSizeConstraintFuncG1(size_t value, bool verbose); |
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 |