1 /*
2 * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
69 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES);
70 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES);
71
72 define_pd_global(bool, RewriteBytecodes, true);
73 define_pd_global(bool, RewriteFrequentPairs, true);
74
75 define_pd_global(bool, PreserveFramePointer, false);
76
77 define_pd_global(uintx, TypeProfileLevel, 111);
78
79 define_pd_global(bool, CompactStrings, true);
80
81 define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
82
83 #define ARCH_FLAGS(develop, \
84 product, \
85 diagnostic, \
86 experimental, \
87 notproduct, \
88 range, \
89 constraint, \
90 writeable) \
91 \
92 product(intx, UseVIS, 99, \
93 "Highest supported VIS instructions set on SPARC") \
94 range(0, 99) \
95 \
96 product(bool, UseCBCond, false, \
97 "Use compare and branch instruction on SPARC") \
98 \
99 product(bool, UseMPMUL, false, \
100 "Use multi-precision multiply instruction (mpmul) on SPARC") \
101 \
102 product(bool, UseBlockZeroing, false, \
103 "Use special cpu instructions for block zeroing") \
104 \
105 product(intx, BlockZeroingLowLimit, 2048, \
106 "Minimum size in bytes when block zeroing will be used") \
107 range(1, max_jint) \
108 \
109 product(bool, UseBlockCopy, false, \
110 "Use special cpu instructions for block copy") \
|
1 /*
2 * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
69 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES);
70 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES);
71
72 define_pd_global(bool, RewriteBytecodes, true);
73 define_pd_global(bool, RewriteFrequentPairs, true);
74
75 define_pd_global(bool, PreserveFramePointer, false);
76
77 define_pd_global(uintx, TypeProfileLevel, 111);
78
79 define_pd_global(bool, CompactStrings, true);
80
81 define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
82
83 #define ARCH_FLAGS(develop, \
84 product, \
85 diagnostic, \
86 experimental, \
87 notproduct, \
88 range, \
89 constraint) \
90 \
91 product(intx, UseVIS, 99, \
92 "Highest supported VIS instructions set on SPARC") \
93 range(0, 99) \
94 \
95 product(bool, UseCBCond, false, \
96 "Use compare and branch instruction on SPARC") \
97 \
98 product(bool, UseMPMUL, false, \
99 "Use multi-precision multiply instruction (mpmul) on SPARC") \
100 \
101 product(bool, UseBlockZeroing, false, \
102 "Use special cpu instructions for block zeroing") \
103 \
104 product(intx, BlockZeroingLowLimit, 2048, \
105 "Minimum size in bytes when block zeroing will be used") \
106 range(1, max_jint) \
107 \
108 product(bool, UseBlockCopy, false, \
109 "Use special cpu instructions for block copy") \
|