64 // Java_java_net_SocketOutputStream_socketWrite0() uses a 64k buffer on the
65 // stack if compiled for unix and LP64. To pass stack overflow tests we need
66 // 20 shadow pages.
67 #define DEFAULT_STACK_SHADOW_PAGES (NOT_WIN64(20) WIN64_ONLY(7) DEBUG_ONLY(+2))
68 // For those clients that do not use write socket, we allow
69 // the min range value to be below that of the default
70 #define MIN_STACK_SHADOW_PAGES (NOT_WIN64(10) WIN64_ONLY(7) DEBUG_ONLY(+2))
71 #else
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 // GC Ergo Flags
85 define_pd_global(uintx, TypeProfileLevel, 111);
86
87 define_pd_global(bool, CompactStrings, true);
88
89 define_pd_global(bool, PreserveFramePointer, false);
90
91 define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
92
93 #if defined(_LP64) || defined(_WINDOWS)
94 define_pd_global(bool, ThreadLocalHandshakes, true);
95 #else
96 // get_thread() is slow on linux 32 bit, therefore off by default
97 define_pd_global(bool, ThreadLocalHandshakes, false);
98 #endif
99
100 #define ARCH_FLAGS(develop, \
101 product, \
102 diagnostic, \
103 experimental, \
104 notproduct, \
|
64 // Java_java_net_SocketOutputStream_socketWrite0() uses a 64k buffer on the
65 // stack if compiled for unix and LP64. To pass stack overflow tests we need
66 // 20 shadow pages.
67 #define DEFAULT_STACK_SHADOW_PAGES (NOT_WIN64(20) WIN64_ONLY(7) DEBUG_ONLY(+2))
68 // For those clients that do not use write socket, we allow
69 // the min range value to be below that of the default
70 #define MIN_STACK_SHADOW_PAGES (NOT_WIN64(10) WIN64_ONLY(7) DEBUG_ONLY(+2))
71 #else
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 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, \
|