50 // stack if compiled for unix and LP64. To pass stack overflow tests we need 51 // 20 shadow pages. 52 #define DEFAULT_STACK_SHADOW_PAGES (20 DEBUG_ONLY(+5)) 53 #define DEFAULT_STACK_RESERVED_PAGES (1) 54 55 #define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES 56 #define MIN_STACK_RED_PAGES DEFAULT_STACK_RED_PAGES 57 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES 58 #define MIN_STACK_RESERVED_PAGES (0) 59 60 define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES); 61 define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES); 62 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES); 63 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES); 64 65 define_pd_global(bool, RewriteBytecodes, true); 66 define_pd_global(bool, RewriteFrequentPairs, true); 67 68 define_pd_global(bool, PreserveFramePointer, false); 69 70 // GC Ergo Flags 71 define_pd_global(uintx, CMSYoungGenPerWorker, 64*M); // default max size of CMS young gen, per GC worker thread 72 73 define_pd_global(uintx, TypeProfileLevel, 111); 74 75 define_pd_global(bool, CompactStrings, true); 76 77 // Clear short arrays bigger than one word in an arch-specific way 78 define_pd_global(intx, InitArrayShortSize, BytesPerLong); 79 80 define_pd_global(bool, ThreadLocalHandshakes, true); 81 82 #if defined(COMPILER1) || defined(COMPILER2) 83 define_pd_global(intx, InlineSmallCode, 1000); 84 #endif 85 86 #ifdef BUILTIN_SIM 87 #define UseBuiltinSim true 88 #define ARCH_FLAGS(develop, \ 89 product, \ | 50 // stack if compiled for unix and LP64. To pass stack overflow tests we need 51 // 20 shadow pages. 52 #define DEFAULT_STACK_SHADOW_PAGES (20 DEBUG_ONLY(+5)) 53 #define DEFAULT_STACK_RESERVED_PAGES (1) 54 55 #define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES 56 #define MIN_STACK_RED_PAGES DEFAULT_STACK_RED_PAGES 57 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES 58 #define MIN_STACK_RESERVED_PAGES (0) 59 60 define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES); 61 define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES); 62 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES); 63 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES); 64 65 define_pd_global(bool, RewriteBytecodes, true); 66 define_pd_global(bool, RewriteFrequentPairs, true); 67 68 define_pd_global(bool, PreserveFramePointer, false); 69 70 define_pd_global(bool, ValueTypePassFieldsAsArgs, false); 71 72 // GC Ergo Flags 73 define_pd_global(uintx, CMSYoungGenPerWorker, 64*M); // default max size of CMS young gen, per GC worker thread 74 75 define_pd_global(uintx, TypeProfileLevel, 111); 76 77 define_pd_global(bool, CompactStrings, true); 78 79 // Clear short arrays bigger than one word in an arch-specific way 80 define_pd_global(intx, InitArrayShortSize, BytesPerLong); 81 82 define_pd_global(bool, ThreadLocalHandshakes, true); 83 84 #if defined(COMPILER1) || defined(COMPILER2) 85 define_pd_global(intx, InlineSmallCode, 1000); 86 #endif 87 88 #ifdef BUILTIN_SIM 89 #define UseBuiltinSim true 90 #define ARCH_FLAGS(develop, \ 91 product, \ |