Mercurial > hg > graal-jvmci-8
diff src/cpu/sparc/vm/c2_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 | 34bd5e86aadb |
children | abec000618bf |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/c2_globals_sparc.hpp Tue Nov 26 18:38:19 2013 -0800 +++ b/src/cpu/sparc/vm/c2_globals_sparc.hpp Wed Nov 27 16:16:21 2013 -0800 @@ -90,6 +90,8 @@ define_pd_global(uintx, CodeCacheMinBlockLength, 4); define_pd_global(uintx, CodeCacheMinimumUseSpace, 400*K); +define_pd_global(bool, TrapBasedRangeChecks, false); // Not needed on sparc. + // Heap related flags define_pd_global(uintx,MetaspaceSize, ScaleForWordSize(16*M));