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

@ -90,6 +90,8 @@ define_pd_global(uint64_t,MaxRAM, 4ULL*G);
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));