comparison src/cpu/sparc/vm/globals_sparc.hpp @ 14440:41b780b43b74

8029015: PPC64 (part 216): opto: trap based null and range checks Summary: On PPC64 use tdi instruction that does a compare and raises SIGTRAP for NULL and range checks. Reviewed-by: kvn
author goetz
date Wed, 27 Nov 2013 16:16:21 -0800
parents d13d7aba8c12
children abec000618bf
comparison
equal deleted inserted replaced
14439:50fdb38839eb 14440:41b780b43b74
41 define_pd_global(bool, ShareVtableStubs, false); // improves performance markedly for mtrt and compress 41 define_pd_global(bool, ShareVtableStubs, false); // improves performance markedly for mtrt and compress
42 define_pd_global(bool, CountInterpCalls, false); // not implemented in the interpreter 42 define_pd_global(bool, CountInterpCalls, false); // not implemented in the interpreter
43 define_pd_global(bool, NeedsDeoptSuspend, true); // register window machines need this 43 define_pd_global(bool, NeedsDeoptSuspend, true); // register window machines need this
44 44
45 define_pd_global(bool, ImplicitNullChecks, true); // Generate code for implicit null checks 45 define_pd_global(bool, ImplicitNullChecks, true); // Generate code for implicit null checks
46 define_pd_global(bool, UncommonNullCast, true); // Uncommon-trap NULLs past to check cast 46 define_pd_global(bool, TrapBasedNullChecks, false); // Not needed on sparc.
47 define_pd_global(bool, UncommonNullCast, true); // Uncommon-trap NULLs passed to check cast
47 48
48 define_pd_global(intx, CodeEntryAlignment, 32); 49 define_pd_global(intx, CodeEntryAlignment, 32);
49 // The default setting 16/16 seems to work best. 50 // The default setting 16/16 seems to work best.
50 // (For _228_jack 16/16 is 2% better than 4/4, 16/4, 32/32, 32/16, or 16/32.) 51 // (For _228_jack 16/16 is 2% better than 4/4, 16/4, 32/32, 32/16, or 16/32.)
51 define_pd_global(intx, OptoLoopAlignment, 16); // = 4*wordSize 52 define_pd_global(intx, OptoLoopAlignment, 16); // = 4*wordSize