19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 #ifndef CPU_ARM_GLOBALS_ARM_HPP 26 #define CPU_ARM_GLOBALS_ARM_HPP 27 28 // 29 // Sets the default values for platform dependent flags used by the runtime system. 30 // (see globals.hpp) 31 // 32 33 define_pd_global(bool, ShareVtableStubs, true); 34 35 define_pd_global(bool, ImplicitNullChecks, true); // Generate code for implicit null checks 36 define_pd_global(bool, UncommonNullCast, true); // Uncommon-trap NULLs past to check cast 37 define_pd_global(bool, TrapBasedNullChecks, false); // Not needed 38 39 define_pd_global(uintx, CodeCacheSegmentSize, 64 TIERED_ONLY(+64)); // Tiered compilation has large code-entry alignment. 40 define_pd_global(intx, CodeEntryAlignment, 16); 41 define_pd_global(intx, OptoLoopAlignment, 16); 42 43 #define DEFAULT_STACK_YELLOW_PAGES (2) 44 #define DEFAULT_STACK_RED_PAGES (1) 45 #define DEFAULT_STACK_SHADOW_PAGES (5 DEBUG_ONLY(+1)) 46 #define DEFAULT_STACK_RESERVED_PAGES (0) 47 48 #define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES 49 #define MIN_STACK_RED_PAGES DEFAULT_STACK_RED_PAGES 50 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES 51 #define MIN_STACK_RESERVED_PAGES (0) 52 53 define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES); 54 define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES); 55 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES); 56 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES); 57 58 define_pd_global(intx, InlineFrequencyCount, 50); | 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 #ifndef CPU_ARM_GLOBALS_ARM_HPP 26 #define CPU_ARM_GLOBALS_ARM_HPP 27 28 // 29 // Sets the default values for platform dependent flags used by the runtime system. 30 // (see globals.hpp) 31 // 32 33 define_pd_global(bool, ShareVtableStubs, true); 34 35 define_pd_global(bool, ImplicitNullChecks, true); // Generate code for implicit null checks 36 define_pd_global(bool, UncommonNullCast, true); // Uncommon-trap NULLs past to check cast 37 define_pd_global(bool, TrapBasedNullChecks, false); // Not needed 38 39 define_pd_global(bool, UseFastClassInitChecks, false); // not implemented 40 41 define_pd_global(uintx, CodeCacheSegmentSize, 64 TIERED_ONLY(+64)); // Tiered compilation has large code-entry alignment. 42 define_pd_global(intx, CodeEntryAlignment, 16); 43 define_pd_global(intx, OptoLoopAlignment, 16); 44 45 #define DEFAULT_STACK_YELLOW_PAGES (2) 46 #define DEFAULT_STACK_RED_PAGES (1) 47 #define DEFAULT_STACK_SHADOW_PAGES (5 DEBUG_ONLY(+1)) 48 #define DEFAULT_STACK_RESERVED_PAGES (0) 49 50 #define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES 51 #define MIN_STACK_RED_PAGES DEFAULT_STACK_RED_PAGES 52 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES 53 #define MIN_STACK_RESERVED_PAGES (0) 54 55 define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES); 56 define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES); 57 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES); 58 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES); 59 60 define_pd_global(intx, InlineFrequencyCount, 50); |