65 66 define_pd_global(intx, StackYellowPages, 2); 67 define_pd_global(intx, StackRedPages, 1); 68 69 define_pd_global(bool, RewriteBytecodes, true); 70 define_pd_global(bool, RewriteFrequentPairs, true); 71 72 define_pd_global(bool, UseMembar, false); 73 74 define_pd_global(bool, PreserveFramePointer, false); 75 76 // GC Ergo Flags 77 define_pd_global(size_t, CMSYoungGenPerWorker, 16*M); // default max size of CMS young gen, per GC worker thread 78 79 define_pd_global(uintx, TypeProfileLevel, 111); 80 81 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct, range, constraint) \ 82 \ 83 product(intx, UseVIS, 99, \ 84 "Highest supported VIS instructions set on Sparc") \ 85 \ 86 product(bool, UseCBCond, false, \ 87 "Use compare and branch instruction on SPARC") \ 88 \ 89 product(bool, UseBlockZeroing, false, \ 90 "Use special cpu instructions for block zeroing") \ 91 \ 92 product(intx, BlockZeroingLowLimit, 2048, \ 93 "Minimum size in bytes when block zeroing will be used") \ 94 \ 95 product(bool, UseBlockCopy, false, \ 96 "Use special cpu instructions for block copy") \ 97 \ 98 product(intx, BlockCopyLowLimit, 2048, \ 99 "Minimum size in bytes when block copy will be used") \ 100 \ 101 develop(bool, UseV8InstrsOnly, false, \ 102 "Use SPARC-V8 Compliant instruction subset") \ 103 \ 104 product(bool, UseNiagaraInstrs, false, \ 105 "Use Niagara-efficient instruction subset") \ 106 \ 107 develop(bool, UseCASForSwap, false, \ 108 "Do not use swap instructions, but only CAS (in a loop) on SPARC")\ 109 \ 110 product(uintx, ArraycopySrcPrefetchDistance, 0, \ 111 "Distance to prefetch source array in arracopy") \ 112 \ 113 product(uintx, ArraycopyDstPrefetchDistance, 0, \ 114 "Distance to prefetch destination array in arracopy") \ 115 116 #endif // CPU_SPARC_VM_GLOBALS_SPARC_HPP | 65 66 define_pd_global(intx, StackYellowPages, 2); 67 define_pd_global(intx, StackRedPages, 1); 68 69 define_pd_global(bool, RewriteBytecodes, true); 70 define_pd_global(bool, RewriteFrequentPairs, true); 71 72 define_pd_global(bool, UseMembar, false); 73 74 define_pd_global(bool, PreserveFramePointer, false); 75 76 // GC Ergo Flags 77 define_pd_global(size_t, CMSYoungGenPerWorker, 16*M); // default max size of CMS young gen, per GC worker thread 78 79 define_pd_global(uintx, TypeProfileLevel, 111); 80 81 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct, range, constraint) \ 82 \ 83 product(intx, UseVIS, 99, \ 84 "Highest supported VIS instructions set on Sparc") \ 85 range(0, 99) \ 86 \ 87 product(bool, UseCBCond, false, \ 88 "Use compare and branch instruction on SPARC") \ 89 \ 90 product(bool, UseBlockZeroing, false, \ 91 "Use special cpu instructions for block zeroing") \ 92 \ 93 product(intx, BlockZeroingLowLimit, 2048, \ 94 "Minimum size in bytes when block zeroing will be used") \ 95 range(1, max_jint) \ 96 \ 97 product(bool, UseBlockCopy, false, \ 98 "Use special cpu instructions for block copy") \ 99 \ 100 product(intx, BlockCopyLowLimit, 2048, \ 101 "Minimum size in bytes when block copy will be used") \ 102 range(1, max_jint) \ 103 \ 104 develop(bool, UseV8InstrsOnly, false, \ 105 "Use SPARC-V8 Compliant instruction subset") \ 106 \ 107 product(bool, UseNiagaraInstrs, false, \ 108 "Use Niagara-efficient instruction subset") \ 109 \ 110 develop(bool, UseCASForSwap, false, \ 111 "Do not use swap instructions, but only CAS (in a loop) on SPARC")\ 112 \ 113 product(uintx, ArraycopySrcPrefetchDistance, 0, \ 114 "Distance to prefetch source array in arraycopy") \ 115 constraint(ArraycopySrcPrefetchDistanceConstraintFunc, AfterErgo) \ 116 \ 117 product(uintx, ArraycopyDstPrefetchDistance, 0, \ 118 "Distance to prefetch destination array in arraycopy") \ 119 constraint(ArraycopyDstPrefetchDistanceConstraintFunc, AfterErgo) 120 121 #endif // CPU_SPARC_VM_GLOBALS_SPARC_HPP |