hotspot/src/share/vm/runtime/arguments.cpp
changeset 9114 db10549c184e
parent 8883 5569135acca3
child 9116 9bc44be338d6
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Tue Apr 05 19:16:52 2011 -0700
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Wed Apr 06 16:02:50 2011 -0700
@@ -962,6 +962,16 @@
   UseCompiler                = true;
   UseLoopCounter             = true;
 
+#ifndef ZERO
+  // Turn these off for mixed and comp.  Leave them on for Zero.
+  if (FLAG_IS_DEFAULT(UseFastAccessorMethods)) {
+    UseFastAccessorMethods = mode == _int;
+  }
+  if (FLAG_IS_DEFAULT(UseFastEmptyMethods)) {
+    UseFastEmptyMethods = mode == _int;
+  }
+#endif
+
   // Default values may be platform/compiler dependent -
   // use the saved values
   ClipInlining               = Arguments::_ClipInlining;