hotspot/src/share/vm/compiler/compilerDefinitions.cpp
changeset 44320 27047c8fa964
parent 43473 3beee3e324cf
equal deleted inserted replaced
44319:8c42183dbd04 44320:27047c8fa964
    98   }
    98   }
    99   if (FLAG_IS_DEFAULT(MetaspaceSize)) {
    99   if (FLAG_IS_DEFAULT(MetaspaceSize)) {
   100     FLAG_SET_ERGO(size_t, MetaspaceSize, 12*M);
   100     FLAG_SET_ERGO(size_t, MetaspaceSize, 12*M);
   101   }
   101   }
   102   if (FLAG_IS_DEFAULT(MaxRAM)) {
   102   if (FLAG_IS_DEFAULT(MaxRAM)) {
   103     FLAG_SET_ERGO(uint64_t, MaxRAM, 1ULL*G);
   103     // Do not use FLAG_SET_ERGO to update MaxRAM, as this will impact
       
   104     // heap setting done based on available phys_mem (see Arguments::set_heap_size).
       
   105     FLAG_SET_DEFAULT(MaxRAM, 1ULL*G);
   104   }
   106   }
   105   if (FLAG_IS_DEFAULT(CompileThreshold)) {
   107   if (FLAG_IS_DEFAULT(CompileThreshold)) {
   106     FLAG_SET_ERGO(intx, CompileThreshold, 1500);
   108     FLAG_SET_ERGO(intx, CompileThreshold, 1500);
   107   }
   109   }
   108   if (FLAG_IS_DEFAULT(OnStackReplacePercentage)) {
   110   if (FLAG_IS_DEFAULT(OnStackReplacePercentage)) {