Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/vm/runtime/arguments.cpp
          +++ new/src/share/vm/runtime/arguments.cpp
↓ open down ↓ 1017 lines elided ↑ open up ↑
1018 1018          "Class Data Sharing is not supported with compressed oops yet", NULL);
1019 1019      }
1020 1020    } else if (UseSharedSpaces) {
1021 1021      // UseSharedSpaces is on by default. With compressed oops, we turn it off.
1022 1022      FLAG_SET_DEFAULT(UseSharedSpaces, false);
1023 1023    }
1024 1024  #endif
1025 1025  }
1026 1026  
1027 1027  void Arguments::set_tiered_flags() {
     1028 +  // With tiered, set default policy to AdvancedThresholdPolicy, which is 3.
1028 1029    if (FLAG_IS_DEFAULT(CompilationPolicyChoice)) {
1029      -    FLAG_SET_DEFAULT(CompilationPolicyChoice, 2);
     1030 +    FLAG_SET_DEFAULT(CompilationPolicyChoice, 3);
1030 1031    }
1031 1032    if (CompilationPolicyChoice < 2) {
1032 1033      vm_exit_during_initialization(
1033 1034        "Incompatible compilation policy selected", NULL);
1034 1035    }
1035 1036    // Increase the code cache size - tiered compiles a lot more.
1036 1037    if (FLAG_IS_DEFAULT(ReservedCodeCacheSize)) {
1037 1038      FLAG_SET_DEFAULT(ReservedCodeCacheSize, ReservedCodeCacheSize * 2);
1038 1039    }
1039 1040  }
↓ open down ↓ 2291 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX