mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +02:00
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:
parent
fe89766184
commit
ecca1bcc72
21 changed files with 244 additions and 53 deletions
|
@ -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") \
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue