src/cpu/ppc/vm/globals_ppc.hpp
Print this page
rev 5728 : 8029015: PPC64 (part 216): opto: trap based null and range checks
*** 36,45 ****
--- 36,46 ----
define_pd_global(bool, ShareVtableStubs, false); // Improves performance markedly for mtrt and compress.
define_pd_global(bool, NeedsDeoptSuspend, false); // Only register window machines need this.
define_pd_global(bool, ImplicitNullChecks, true); // Generate code for implicit null checks.
+ define_pd_global(bool, TrapBasedNullChecks, true);
define_pd_global(bool, UncommonNullCast, true); // Uncommon-trap NULLs passed to check cast.
// Use large code-entry alignment.
define_pd_global(intx, CodeEntryAlignment, 128);
define_pd_global(intx, OptoLoopAlignment, 16);
*** 98,113 ****
product(bool, TrapBasedICMissChecks, true, \
"Raise and handle SIGTRAP if inline cache miss detected.") \
product(bool, TrapBasedNotEntrantChecks, true, \
"Raise and handle SIGTRAP if calling not entrant or zombie" \
" method.") \
- product(bool, TrapBasedNullChecks, true, \
- "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.") \
- product(bool, TrapBasedRangeChecks, true, \
- "Raise and handle SIGTRAP if array out of bounds check fails.") \
product(bool, TraceTraps, false, "Trace all traps the signal handler" \
"handles.") \
\
product(bool, ZapMemory, false, "Write 0x0101... to empty memory." \
" Use this to ease debugging.") \
--- 99,108 ----