src/hotspot/share/gc/shared/genArguments.cpp
branchdatagramsocketimpl-branch
changeset 58678 9cf78a70fa4f
parent 54983 81becad91321
child 58679 9c3209ff7550
equal deleted inserted replaced
58677:13588c901957 58678:9cf78a70fa4f
    88   if (MaxHeapSize < smallest_heap_size) {
    88   if (MaxHeapSize < smallest_heap_size) {
    89     FLAG_SET_ERGO(MaxHeapSize, smallest_heap_size);
    89     FLAG_SET_ERGO(MaxHeapSize, smallest_heap_size);
    90   }
    90   }
    91   // If needed, synchronize MinHeapSize size and InitialHeapSize
    91   // If needed, synchronize MinHeapSize size and InitialHeapSize
    92   if (MinHeapSize < smallest_heap_size) {
    92   if (MinHeapSize < smallest_heap_size) {
    93     MinHeapSize = smallest_heap_size;
    93     FLAG_SET_ERGO(MinHeapSize, smallest_heap_size);
    94     if (InitialHeapSize < MinHeapSize) {
    94     if (InitialHeapSize < MinHeapSize) {
    95       FLAG_SET_ERGO(InitialHeapSize, smallest_heap_size);
    95       FLAG_SET_ERGO(InitialHeapSize, smallest_heap_size);
    96     }
    96     }
    97   }
    97   }
    98 
    98 
   193       if (new_size >= MinNewSize && new_size <= MaxNewSize) {
   193       if (new_size >= MinNewSize && new_size <= MaxNewSize) {
   194         FLAG_SET_ERGO(NewSize, new_size);
   194         FLAG_SET_ERGO(NewSize, new_size);
   195       }
   195       }
   196     }
   196     }
   197   }
   197   }
   198 
       
   199   always_do_update_barrier = UseConcMarkSweepGC;
       
   200 
   198 
   201   DEBUG_ONLY(assert_flags();)
   199   DEBUG_ONLY(assert_flags();)
   202 }
   200 }
   203 
   201 
   204 // Values set on the command line win over any ergonomically
   202 // Values set on the command line win over any ergonomically