74 #endif // _LP64
75
76 define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES);
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 define_pd_global(uintx, TypeProfileLevel, 111);
85
86 define_pd_global(bool, CompactStrings, true);
87
88 define_pd_global(bool, PreserveFramePointer, false);
89
90 define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
91
92 #if defined(_LP64) || defined(_WINDOWS)
93 define_pd_global(bool, ThreadLocalHandshakes, true);
94 #else
95 // get_thread() is slow on linux 32 bit, therefore off by default
96 define_pd_global(bool, ThreadLocalHandshakes, false);
97 #endif
98
99 #define ARCH_FLAGS(develop, \
100 product, \
101 diagnostic, \
102 experimental, \
103 notproduct, \
104 range, \
105 constraint, \
106 writeable) \
107 \
108 develop(bool, IEEEPrecision, true, \
109 "Enables IEEE precision (for INTEL only)") \
110 \
111 product(bool, UseStoreImmI16, true, \
112 "Use store immediate 16-bits value instruction on x86") \
113 \
114 product(intx, UseAVX, 3, \
115 "Highest supported AVX instructions set on x86/x64") \
116 range(0, 99) \
|
74 #endif // _LP64
75
76 define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES);
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 define_pd_global(uintx, TypeProfileLevel, 111);
85
86 define_pd_global(bool, CompactStrings, true);
87
88 define_pd_global(bool, PreserveFramePointer, false);
89
90 define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
91
92 #if defined(_LP64) || defined(_WINDOWS)
93 define_pd_global(bool, ThreadLocalHandshakes, true);
94 // ObjectMonitor ref_count is implemented in LP64 C2 fast_lock()
95 // and fast_unlock() so we don't need the handshake by default.
96 #ifdef _LP64
97 define_pd_global(bool, HandshakeAfterDeflateIdleMonitors, false);
98 #else
99 define_pd_global(bool, HandshakeAfterDeflateIdleMonitors, true);
100 #endif
101 #else
102 // get_thread() is slow on linux 32 bit, therefore off by default
103 define_pd_global(bool, ThreadLocalHandshakes, false);
104 // ObjectMonitor ref_count not implemented in C2 fast_lock() or
105 // fast_unlock() so use a handshake for safety.
106 // Will use a safepoint instead of a handshake on this platform.
107 define_pd_global(bool, HandshakeAfterDeflateIdleMonitors, true);
108 #endif
109
110 #define ARCH_FLAGS(develop, \
111 product, \
112 diagnostic, \
113 experimental, \
114 notproduct, \
115 range, \
116 constraint, \
117 writeable) \
118 \
119 develop(bool, IEEEPrecision, true, \
120 "Enables IEEE precision (for INTEL only)") \
121 \
122 product(bool, UseStoreImmI16, true, \
123 "Use store immediate 16-bits value instruction on x86") \
124 \
125 product(intx, UseAVX, 3, \
126 "Highest supported AVX instructions set on x86/x64") \
127 range(0, 99) \
|