--- old/src/share/vm/runtime/globals.hpp Wed Apr 6 15:53:07 2011 +++ new/src/share/vm/runtime/globals.hpp Wed Apr 6 15:53:07 2011 @@ -2726,10 +2726,10 @@ product(bool, UseLoopCounter, true, \ "Increment invocation counter on backward branch") \ \ - product(bool, UseFastEmptyMethods, false, \ + product(bool, UseFastEmptyMethods, true, \ "Use fast method entry code for empty methods") \ \ - product(bool, UseFastAccessorMethods, false, \ + product(bool, UseFastAccessorMethods, true, \ "Use fast method entry code for accessor methods") \ \ product_pd(bool, UseOnStackReplacement, \ --- old/src/share/vm/runtime/arguments.cpp Wed Apr 6 15:53:08 2011 +++ new/src/share/vm/runtime/arguments.cpp Wed Apr 6 15:53:08 2011 @@ -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;