8025854: Use "young gen" instead of "eden"

Fri, 04 Oct 2013 22:08:37 +0200

author
jwilhelm
date
Fri, 04 Oct 2013 22:08:37 +0200
changeset 5856
087f02e22fc2
parent 5855
9b4d0569f2f4
child 5858
8618e0d7735b

8025854: Use "young gen" instead of "eden"
Summary: Changed a few descriptions and variable names to young gen.
Reviewed-by: tschatzl, jcoomes

src/share/vm/memory/collectorPolicy.cpp file | annotate | diff | comparison | revisions
src/share/vm/runtime/arguments.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/memory/collectorPolicy.cpp	Thu Oct 03 21:36:29 2013 +0200
     1.2 +++ b/src/share/vm/memory/collectorPolicy.cpp	Fri Oct 04 22:08:37 2013 +0200
     1.3 @@ -230,7 +230,7 @@
     1.4      vm_exit_during_initialization("Too small new size specified");
     1.5    }
     1.6    if (SurvivorRatio < 1 || NewRatio < 1) {
     1.7 -    vm_exit_during_initialization("Invalid heap ratio specified");
     1.8 +    vm_exit_during_initialization("Invalid young gen ratio specified");
     1.9    }
    1.10  }
    1.11  
     2.1 --- a/src/share/vm/runtime/arguments.cpp	Thu Oct 03 21:36:29 2013 +0200
     2.2 +++ b/src/share/vm/runtime/arguments.cpp	Fri Oct 04 22:08:37 2013 +0200
     2.3 @@ -2647,16 +2647,16 @@
     2.4        FLAG_SET_CMDLINE(bool, BackgroundCompilation, false);
     2.5      // -Xmn for compatibility with other JVM vendors
     2.6      } else if (match_option(option, "-Xmn", &tail)) {
     2.7 -      julong long_initial_eden_size = 0;
     2.8 -      ArgsRange errcode = parse_memory_size(tail, &long_initial_eden_size, 1);
     2.9 +      julong long_initial_young_size = 0;
    2.10 +      ArgsRange errcode = parse_memory_size(tail, &long_initial_young_size, 1);
    2.11        if (errcode != arg_in_range) {
    2.12          jio_fprintf(defaultStream::error_stream(),
    2.13 -                    "Invalid initial eden size: %s\n", option->optionString);
    2.14 +                    "Invalid initial young generation size: %s\n", option->optionString);
    2.15          describe_range_error(errcode);
    2.16          return JNI_EINVAL;
    2.17        }
    2.18 -      FLAG_SET_CMDLINE(uintx, MaxNewSize, (uintx)long_initial_eden_size);
    2.19 -      FLAG_SET_CMDLINE(uintx, NewSize, (uintx)long_initial_eden_size);
    2.20 +      FLAG_SET_CMDLINE(uintx, MaxNewSize, (uintx)long_initial_young_size);
    2.21 +      FLAG_SET_CMDLINE(uintx, NewSize, (uintx)long_initial_young_size);
    2.22      // -Xms
    2.23      } else if (match_option(option, "-Xms", &tail)) {
    2.24        julong long_initial_heap_size = 0;

mercurial