Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/globals_sparc.hpp @ 6633:a5dd6e3ef9f3
6677625: Move platform specific flags from globals.hpp to globals_<arch>.hpp
Reviewed-by: kvn, dholmes, coleenp
Contributed-by: Tao Mao <tao.mao@oracle.com>
author | twisti |
---|---|
date | Mon, 27 Aug 2012 15:17:17 -0700 |
parents | 28d91e43ab6d |
children | 12f651e29f6b |
comparison
equal
deleted
inserted
replaced
6632:a1c7f6472621 | 6633:a5dd6e3ef9f3 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2000, 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. |
73 | 73 |
74 define_pd_global(bool, UseMembar, false); | 74 define_pd_global(bool, UseMembar, false); |
75 | 75 |
76 // GC Ergo Flags | 76 // GC Ergo Flags |
77 define_pd_global(intx, CMSYoungGenPerWorker, 16*M); // default max size of CMS young gen, per GC worker thread | 77 define_pd_global(intx, CMSYoungGenPerWorker, 16*M); // default max size of CMS young gen, per GC worker thread |
78 | |
79 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct) \ | |
80 \ | |
81 product(intx, UseVIS, 99, \ | |
82 "Highest supported VIS instructions set on Sparc") \ | |
83 \ | |
84 product(bool, UseCBCond, false, \ | |
85 "Use compare and branch instruction on SPARC") \ | |
86 \ | |
87 product(bool, UseBlockZeroing, false, \ | |
88 "Use special cpu instructions for block zeroing") \ | |
89 \ | |
90 product(intx, BlockZeroingLowLimit, 2048, \ | |
91 "Minimum size in bytes when block zeroing will be used") \ | |
92 \ | |
93 product(bool, UseBlockCopy, false, \ | |
94 "Use special cpu instructions for block copy") \ | |
95 \ | |
96 product(intx, BlockCopyLowLimit, 2048, \ | |
97 "Minimum size in bytes when block copy will be used") \ | |
98 \ | |
99 develop(bool, UseV8InstrsOnly, false, \ | |
100 "Use SPARC-V8 Compliant instruction subset") \ | |
101 \ | |
102 product(bool, UseNiagaraInstrs, false, \ | |
103 "Use Niagara-efficient instruction subset") \ | |
104 \ | |
105 develop(bool, UseCASForSwap, false, \ | |
106 "Do not use swap instructions, but only CAS (in a loop) on SPARC")\ | |
107 \ | |
108 product(uintx, ArraycopySrcPrefetchDistance, 0, \ | |
109 "Distance to prefetch source array in arracopy") \ | |
110 \ | |
111 product(uintx, ArraycopyDstPrefetchDistance, 0, \ | |
112 "Distance to prefetch destination array in arracopy") \ | |
113 \ | |
114 develop(intx, V8AtomicOperationUnderLockSpinCount, 50, \ | |
115 "Number of times to spin wait on a v8 atomic operation lock") \ | |
116 | |
78 #endif // CPU_SPARC_VM_GLOBALS_SPARC_HPP | 117 #endif // CPU_SPARC_VM_GLOBALS_SPARC_HPP |