72 #define DEFAULT_STACK_SHADOW_PAGES (4 DEBUG_ONLY(+5))
73 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES
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 #define ARCH_FLAGS(develop, \
93 product, \
94 diagnostic, \
95 experimental, \
96 notproduct, \
97 range, \
98 constraint, \
99 writeable) \
100 \
101 develop(bool, IEEEPrecision, true, \
102 "Enables IEEE precision (for INTEL only)") \
103 \
104 product(bool, UseStoreImmI16, true, \
105 "Use store immediate 16-bits value instruction on x86") \
106 \
107 product(intx, UseAVX, 3, \
108 "Highest supported AVX instructions set on x86/x64") \
109 range(0, 99) \
110 \
111 product(bool, UseCLMUL, false, \
|
72 #define DEFAULT_STACK_SHADOW_PAGES (4 DEBUG_ONLY(+5))
73 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES
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 // ObjectMonitor ref_count is implemented in LP64 C2 fast_lock()
94 // and fast_unlock() so we don't need the handshake by default.
95 #ifdef _LP64
96 define_pd_global(bool, HandshakeAfterDeflateIdleMonitors, false);
97 #else
98 define_pd_global(bool, HandshakeAfterDeflateIdleMonitors, true);
99 #endif
100 #else
101 // ObjectMonitor ref_count not implemented in C2 fast_lock() or
102 // fast_unlock() so use a handshake for safety.
103 // Will use a safepoint instead of a handshake on this platform.
104 define_pd_global(bool, HandshakeAfterDeflateIdleMonitors, true);
105 #endif
106
107 #define ARCH_FLAGS(develop, \
108 product, \
109 diagnostic, \
110 experimental, \
111 notproduct, \
112 range, \
113 constraint, \
114 writeable) \
115 \
116 develop(bool, IEEEPrecision, true, \
117 "Enables IEEE precision (for INTEL only)") \
118 \
119 product(bool, UseStoreImmI16, true, \
120 "Use store immediate 16-bits value instruction on x86") \
121 \
122 product(intx, UseAVX, 3, \
123 "Highest supported AVX instructions set on x86/x64") \
124 range(0, 99) \
125 \
126 product(bool, UseCLMUL, false, \
|