# HG changeset patch # User never # Date 1304493682 25200 # Node ID e9b8ef09622a95f0c170a91ccaacf6a64f2c3927 # Parent eae35325e5e1ca82db1eec062b92e43ebe9ba4a8 7041582: set_mode_flags isn't called without -Xmixed specified Reviewed-by: kvn, iveresov diff -r eae35325e5e1 -r e9b8ef09622a src/share/vm/runtime/arguments.cpp --- a/src/share/vm/runtime/arguments.cpp Tue May 03 20:56:35 2011 -0700 +++ b/src/share/vm/runtime/arguments.cpp Wed May 04 00:21:22 2011 -0700 @@ -969,10 +969,10 @@ #ifndef ZERO // Turn these off for mixed and comp. Leave them on for Zero. if (FLAG_IS_DEFAULT(UseFastAccessorMethods)) { - UseFastAccessorMethods = mode == _int; + UseFastAccessorMethods = (mode == _int); } if (FLAG_IS_DEFAULT(UseFastEmptyMethods)) { - UseFastEmptyMethods = mode == _int; + UseFastEmptyMethods = (mode == _int); } #endif @@ -1987,6 +1987,9 @@ Arguments::_ClipInlining = ClipInlining; Arguments::_BackgroundCompilation = BackgroundCompilation; + // Setup flags for mixed which is the default + set_mode_flags(_mixed); + // Parse JAVA_TOOL_OPTIONS environment variable (if present) jint result = parse_java_tool_options_environment_variable(&scp, &scp_assembly_required); if (result != JNI_OK) {