Mercurial > hg > graal-compiler
diff src/share/vm/runtime/globals.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 | da862781b584 |
children | 1174c8abbdb6 |
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp Tue Nov 26 18:38:19 2013 -0800 +++ b/src/share/vm/runtime/globals.hpp Wed Nov 27 16:16:21 2013 -0800 @@ -2500,6 +2500,12 @@ develop_pd(bool, ImplicitNullChecks, \ "Generate code for implicit null checks") \ \ + product_pd(bool, TrapBasedNullChecks, \ + "Generate code for null checks that uses a cmp and trap " \ + "instruction raising SIGTRAP. This is only used if an access to" \ + "null (+offset) will not raise a SIGSEGV, i.e.," \ + "ImplicitNullChecks don't work (PPC64).") \ + \ product(bool, PrintSafepointStatistics, false, \ "Print statistics about safepoint synchronization") \ \