1 /*
2 * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
3 * Copyright (c) 2012, 2015 SAP SE. All rights reserved.
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 *
6 * This code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 only, as
8 * published by the Free Software Foundation.
9 *
10 * This code is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * version 2 for more details (a copy is included in the LICENSE file that
14 * accompanied this code).
15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
58
59 // Use large code-entry alignment.
60 define_pd_global(intx, CodeEntryAlignment, 128);
61 define_pd_global(intx, OptoLoopAlignment, 16);
62 define_pd_global(intx, InlineFrequencyCount, 100);
63 define_pd_global(intx, InlineSmallCode, 1500);
64
65 // Flags for template interpreter.
66 define_pd_global(bool, RewriteBytecodes, true);
67 define_pd_global(bool, RewriteFrequentPairs, true);
68
69 define_pd_global(bool, UseMembar, false);
70
71 define_pd_global(bool, PreserveFramePointer, false);
72
73 // GC Ergo Flags
74 define_pd_global(size_t, CMSYoungGenPerWorker, 16*M); // Default max size of CMS young gen, per GC worker thread.
75
76 define_pd_global(uintx, TypeProfileLevel, 111);
77
78 // No performance work done here yet.
79 define_pd_global(bool, CompactStrings, false);
80
81 // Platform dependent flag handling: flags only defined on this platform.
82 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct, range, constraint) \
83 \
84 /* Load poll address from thread. This is used to implement per-thread */ \
85 /* safepoints on platforms != IA64. */ \
86 product(bool, LoadPollAddressFromThread, false, \
87 "Load polling page address from thread object (required for " \
88 "per-thread safepoints on platforms != IA64)") \
89 \
90 product(uintx, PowerArchitecturePPC64, 0, \
91 "CPU Version: x for PowerX. Currently recognizes Power5 to " \
92 "Power8. Default is 0. Newer CPUs will be recognized as Power8.") \
93 \
94 /* Reoptimize code-sequences of calls at runtime, e.g. replace an */ \
95 /* indirect call by a direct call. */ \
96 product(bool, ReoptimizeCallSequences, true, \
97 "Reoptimize code-sequences of calls at runtime.") \
98 \
99 /* Power 8: Configure Data Stream Control Register. */ \
|
1 /*
2 * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
3 * Copyright (c) 2012, 2016 SAP SE. All rights reserved.
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 *
6 * This code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 only, as
8 * published by the Free Software Foundation.
9 *
10 * This code is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * version 2 for more details (a copy is included in the LICENSE file that
14 * accompanied this code).
15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
58
59 // Use large code-entry alignment.
60 define_pd_global(intx, CodeEntryAlignment, 128);
61 define_pd_global(intx, OptoLoopAlignment, 16);
62 define_pd_global(intx, InlineFrequencyCount, 100);
63 define_pd_global(intx, InlineSmallCode, 1500);
64
65 // Flags for template interpreter.
66 define_pd_global(bool, RewriteBytecodes, true);
67 define_pd_global(bool, RewriteFrequentPairs, true);
68
69 define_pd_global(bool, UseMembar, false);
70
71 define_pd_global(bool, PreserveFramePointer, false);
72
73 // GC Ergo Flags
74 define_pd_global(size_t, CMSYoungGenPerWorker, 16*M); // Default max size of CMS young gen, per GC worker thread.
75
76 define_pd_global(uintx, TypeProfileLevel, 111);
77
78 define_pd_global(bool, CompactStrings, true);
79
80 // Platform dependent flag handling: flags only defined on this platform.
81 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct, range, constraint) \
82 \
83 /* Load poll address from thread. This is used to implement per-thread */ \
84 /* safepoints on platforms != IA64. */ \
85 product(bool, LoadPollAddressFromThread, false, \
86 "Load polling page address from thread object (required for " \
87 "per-thread safepoints on platforms != IA64)") \
88 \
89 product(uintx, PowerArchitecturePPC64, 0, \
90 "CPU Version: x for PowerX. Currently recognizes Power5 to " \
91 "Power8. Default is 0. Newer CPUs will be recognized as Power8.") \
92 \
93 /* Reoptimize code-sequences of calls at runtime, e.g. replace an */ \
94 /* indirect call by a direct call. */ \
95 product(bool, ReoptimizeCallSequences, true, \
96 "Reoptimize code-sequences of calls at runtime.") \
97 \
98 /* Power 8: Configure Data Stream Control Register. */ \
|