src/share/vm/runtime/arguments.cpp

changeset 5650
bb57d48691f5
parent 5597
4a1efab850f4
parent 5648
a701c16e8bbf
child 5683
621eda7235d2
child 5694
7944aba7ba41
child 5727
ae3e68933caf
     1.1 --- a/src/share/vm/runtime/arguments.cpp	Thu Sep 05 10:39:10 2013 +0200
     1.2 +++ b/src/share/vm/runtime/arguments.cpp	Thu Sep 05 14:15:54 2013 +0200
     1.3 @@ -1605,17 +1605,6 @@
     1.4    return result;
     1.5  }
     1.6  
     1.7 -void Arguments::set_heap_base_min_address() {
     1.8 -  if (FLAG_IS_DEFAULT(HeapBaseMinAddress) && UseG1GC && HeapBaseMinAddress < 1*G) {
     1.9 -    // By default HeapBaseMinAddress is 2G on all platforms except Solaris x86.
    1.10 -    // G1 currently needs a lot of C-heap, so on Solaris we have to give G1
    1.11 -    // some extra space for the C-heap compared to other collectors.
    1.12 -    // Use FLAG_SET_DEFAULT here rather than FLAG_SET_ERGO to make sure that
    1.13 -    // code that checks for default values work correctly.
    1.14 -    FLAG_SET_DEFAULT(HeapBaseMinAddress, 1*G);
    1.15 -  }
    1.16 -}
    1.17 -
    1.18  void Arguments::set_heap_size() {
    1.19    if (!FLAG_IS_DEFAULT(DefaultMaxRAMFraction)) {
    1.20      // Deprecated flag
    1.21 @@ -3537,8 +3526,6 @@
    1.22      }
    1.23    }
    1.24  
    1.25 -  set_heap_base_min_address();
    1.26 -
    1.27    // Set heap size based on available physical memory
    1.28    set_heap_size();
    1.29  

mercurial