Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 2458:98c560260039
7034513: enable fast accessors and empty methods for ZERO and -Xint
Reviewed-by: kvn, iveresov
author | never |
---|---|
date | Wed, 06 Apr 2011 16:02:50 -0700 |
parents | 38fea01eb669 |
children | ed69575596ac |
comparison
equal
deleted
inserted
replaced
2457:527977d4f740 | 2458:98c560260039 |
---|---|
959 (char*)Abstract_VM_Version::vm_info_string(), false); | 959 (char*)Abstract_VM_Version::vm_info_string(), false); |
960 | 960 |
961 UseInterpreter = true; | 961 UseInterpreter = true; |
962 UseCompiler = true; | 962 UseCompiler = true; |
963 UseLoopCounter = true; | 963 UseLoopCounter = true; |
964 | |
965 #ifndef ZERO | |
966 // Turn these off for mixed and comp. Leave them on for Zero. | |
967 if (FLAG_IS_DEFAULT(UseFastAccessorMethods)) { | |
968 UseFastAccessorMethods = mode == _int; | |
969 } | |
970 if (FLAG_IS_DEFAULT(UseFastEmptyMethods)) { | |
971 UseFastEmptyMethods = mode == _int; | |
972 } | |
973 #endif | |
964 | 974 |
965 // Default values may be platform/compiler dependent - | 975 // Default values may be platform/compiler dependent - |
966 // use the saved values | 976 // use the saved values |
967 ClipInlining = Arguments::_ClipInlining; | 977 ClipInlining = Arguments::_ClipInlining; |
968 AlwaysCompileLoopMethods = Arguments::_AlwaysCompileLoopMethods; | 978 AlwaysCompileLoopMethods = Arguments::_AlwaysCompileLoopMethods; |