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 \
115 develop(bool, IEEEPrecision, true, \
116 "Enables IEEE precision (for INTEL only)") \
117 \
118 product(bool, UseStoreImmI16, true, \
119 "Use store immediate 16-bits value instruction on x86") \
120 \
121 product(intx, UseAVX, 3, \
122 "Highest supported AVX instructions set on x86/x64") \
123 range(0, 99) \
124 \
125 product(bool, UseCLMUL, false, \
126 "Control whether CLMUL instructions can be used on x86/x64") \
|
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 \
100 develop(bool, IEEEPrecision, true, \
101 "Enables IEEE precision (for INTEL only)") \
102 \
103 product(bool, UseStoreImmI16, true, \
104 "Use store immediate 16-bits value instruction on x86") \
105 \
106 product(intx, UseAVX, 3, \
107 "Highest supported AVX instructions set on x86/x64") \
108 range(0, 99) \
109 \
110 product(bool, UseCLMUL, false, \
111 "Control whether CLMUL instructions can be used on x86/x64") \
|