hotspot/src/cpu/sparc/vm/globals_sparc.hpp
changeset 22872 b6902ee5bc8d
parent 22234 da823d78ad65
parent 22856 03ad2cf18166
child 29697 92501504191b
--- a/hotspot/src/cpu/sparc/vm/globals_sparc.hpp	Tue Jan 28 11:21:43 2014 -0800
+++ b/hotspot/src/cpu/sparc/vm/globals_sparc.hpp	Tue Jan 28 12:25:34 2014 -0800
@@ -43,7 +43,8 @@
 define_pd_global(bool, NeedsDeoptSuspend,           true); // register window machines need this
 
 define_pd_global(bool, ImplicitNullChecks,          true);  // Generate code for implicit null checks
-define_pd_global(bool, UncommonNullCast,            true);  // Uncommon-trap NULLs past to check cast
+define_pd_global(bool, TrapBasedNullChecks,         false); // Not needed on sparc.
+define_pd_global(bool, UncommonNullCast,            true);  // Uncommon-trap NULLs passed to check cast
 
 define_pd_global(intx, CodeEntryAlignment,    32);
 // The default setting 16/16 seems to work best.