--- a/hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp Tue Nov 26 18:38:19 2013 -0800
+++ b/hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp Wed Nov 27 16:16:21 2013 -0800
@@ -77,14 +77,17 @@
MSG(TrapBasedICMissChecks);
MSG(TrapBasedNotEntrantChecks);
MSG(TrapBasedNullChecks);
- MSG(TrapBasedRangeChecks);
FLAG_SET_ERGO(bool, TrapBasedNotEntrantChecks, false);
FLAG_SET_ERGO(bool, TrapBasedNullChecks, false);
FLAG_SET_ERGO(bool, TrapBasedICMissChecks, false);
- FLAG_SET_ERGO(bool, TrapBasedRangeChecks, false);
}
#ifdef COMPILER2
+ if (!UseSIGTRAP) {
+ MSG(TrapBasedRangeChecks);
+ FLAG_SET_ERGO(bool, TrapBasedRangeChecks, false);
+ }
+
// On Power6 test for section size.
if (PowerArchitecturePPC64 == 6)
determine_section_size();