Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 12831:087f02e22fc2
8025854: Use "young gen" instead of "eden"
Summary: Changed a few descriptions and variable names to young gen.
Reviewed-by: tschatzl, jcoomes
author | jwilhelm |
---|---|
date | Fri, 04 Oct 2013 22:08:37 +0200 |
parents | 0f37d1badced |
children | 85c1ca43713f |
comparison
equal
deleted
inserted
replaced
12830:9b4d0569f2f4 | 12831:087f02e22fc2 |
---|---|
2645 // -Xbatch | 2645 // -Xbatch |
2646 } else if (match_option(option, "-Xbatch", &tail)) { | 2646 } else if (match_option(option, "-Xbatch", &tail)) { |
2647 FLAG_SET_CMDLINE(bool, BackgroundCompilation, false); | 2647 FLAG_SET_CMDLINE(bool, BackgroundCompilation, false); |
2648 // -Xmn for compatibility with other JVM vendors | 2648 // -Xmn for compatibility with other JVM vendors |
2649 } else if (match_option(option, "-Xmn", &tail)) { | 2649 } else if (match_option(option, "-Xmn", &tail)) { |
2650 julong long_initial_eden_size = 0; | 2650 julong long_initial_young_size = 0; |
2651 ArgsRange errcode = parse_memory_size(tail, &long_initial_eden_size, 1); | 2651 ArgsRange errcode = parse_memory_size(tail, &long_initial_young_size, 1); |
2652 if (errcode != arg_in_range) { | 2652 if (errcode != arg_in_range) { |
2653 jio_fprintf(defaultStream::error_stream(), | 2653 jio_fprintf(defaultStream::error_stream(), |
2654 "Invalid initial eden size: %s\n", option->optionString); | 2654 "Invalid initial young generation size: %s\n", option->optionString); |
2655 describe_range_error(errcode); | 2655 describe_range_error(errcode); |
2656 return JNI_EINVAL; | 2656 return JNI_EINVAL; |
2657 } | 2657 } |
2658 FLAG_SET_CMDLINE(uintx, MaxNewSize, (uintx)long_initial_eden_size); | 2658 FLAG_SET_CMDLINE(uintx, MaxNewSize, (uintx)long_initial_young_size); |
2659 FLAG_SET_CMDLINE(uintx, NewSize, (uintx)long_initial_eden_size); | 2659 FLAG_SET_CMDLINE(uintx, NewSize, (uintx)long_initial_young_size); |
2660 // -Xms | 2660 // -Xms |
2661 } else if (match_option(option, "-Xms", &tail)) { | 2661 } else if (match_option(option, "-Xms", &tail)) { |
2662 julong long_initial_heap_size = 0; | 2662 julong long_initial_heap_size = 0; |
2663 // an initial heap size of 0 means automatically determine | 2663 // an initial heap size of 0 means automatically determine |
2664 ArgsRange errcode = parse_memory_size(tail, &long_initial_heap_size, 0); | 2664 ArgsRange errcode = parse_memory_size(tail, &long_initial_heap_size, 0); |