77 define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES);
78 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES);
79 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES);
80
81 define_pd_global(bool, RewriteBytecodes, true);
82 define_pd_global(bool, RewriteFrequentPairs, true);
83
84 // GC Ergo Flags
85 define_pd_global(size_t, CMSYoungGenPerWorker, 64*M); // default max size of CMS young gen, per GC worker thread
86
87 define_pd_global(uintx, TypeProfileLevel, 111);
88
89 define_pd_global(bool, CompactStrings, true);
90
91 define_pd_global(bool, PreserveFramePointer, false);
92
93 define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
94
95 #if defined(_LP64) || defined(_WINDOWS)
96 define_pd_global(bool, ThreadLocalHandshakes, true);
97 #else
98 // get_thread() is slow on linux 32 bit, therefore off by default
99 define_pd_global(bool, ThreadLocalHandshakes, false);
100 #endif
101
102 #define ARCH_FLAGS(develop, \
103 product, \
104 diagnostic, \
105 experimental, \
106 notproduct, \
107 range, \
108 constraint, \
109 writeable) \
110 \
111 develop(bool, IEEEPrecision, true, \
112 "Enables IEEE precision (for INTEL only)") \
113 \
114 product(bool, UseStoreImmI16, true, \
115 "Use store immediate 16-bits value instruction on x86") \
116 \
117 product(intx, UseAVX, 3, \
118 "Highest supported AVX instructions set on x86/x64") \
119 range(0, 99) \
|
77 define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES);
78 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES);
79 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES);
80
81 define_pd_global(bool, RewriteBytecodes, true);
82 define_pd_global(bool, RewriteFrequentPairs, true);
83
84 // GC Ergo Flags
85 define_pd_global(size_t, CMSYoungGenPerWorker, 64*M); // default max size of CMS young gen, per GC worker thread
86
87 define_pd_global(uintx, TypeProfileLevel, 111);
88
89 define_pd_global(bool, CompactStrings, true);
90
91 define_pd_global(bool, PreserveFramePointer, false);
92
93 define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
94
95 #if defined(_LP64) || defined(_WINDOWS)
96 define_pd_global(bool, ThreadLocalHandshakes, true);
97 // ObjectMonitor ref_count is implemented in LP64 C2 fast_lock()
98 // and fast_unlock() so we don't need the handshake by default.
99 #ifdef _LP64
100 define_pd_global(bool, HandshakeAfterDeflateIdleMonitors, false);
101 #else
102 define_pd_global(bool, HandshakeAfterDeflateIdleMonitors, true);
103 #endif
104 #else
105 // get_thread() is slow on linux 32 bit, therefore off by default
106 define_pd_global(bool, ThreadLocalHandshakes, false);
107 // ObjectMonitor ref_count not implemented in C2 fast_lock() or
108 // fast_unlock() so use a handshake for safety.
109 // Will use a safepoint instead of a handshake on this platform.
110 define_pd_global(bool, HandshakeAfterDeflateIdleMonitors, true);
111 #endif
112
113 #define ARCH_FLAGS(develop, \
114 product, \
115 diagnostic, \
116 experimental, \
117 notproduct, \
118 range, \
119 constraint, \
120 writeable) \
121 \
122 develop(bool, IEEEPrecision, true, \
123 "Enables IEEE precision (for INTEL only)") \
124 \
125 product(bool, UseStoreImmI16, true, \
126 "Use store immediate 16-bits value instruction on x86") \
127 \
128 product(intx, UseAVX, 3, \
129 "Highest supported AVX instructions set on x86/x64") \
130 range(0, 99) \
|