8029015: PPC64 (part 216): opto: trap based null and range checks

On PPC64 use tdi instruction that does a compare and raises SIGTRAP for NULL and range checks.

Reviewed-by: kvn
This commit is contained in:
Goetz Lindenmaier 2013-11-27 16:16:21 -08:00
parent fe89766184
commit ecca1bcc72
21 changed files with 244 additions and 53 deletions

View file

@ -2500,6 +2500,12 @@ class CommandLineFlags {
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") \
\