src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp

src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp

Print this page
rev 5732 : [mq]: comments2

*** 134,144 **** // committed. The minimum survivor size for -UseAdaptiveSizePolicy // is dependent on the committed portion (current capacity) of the // generation - the less space committed, the smaller the survivor // space, possibly as small as an alignment. However, we are interested // in the case where the young generation is 100% committed, as this ! // is the point where eden reachs its maximum size. At this point, // the size of a survivor space is max_survivor_size. max_eden_size = size - 2 * max_survivor_size; } _eden_counters = new SpaceCounters("eden", 0, max_eden_size, _eden_space, --- 134,144 ---- // committed. The minimum survivor size for -UseAdaptiveSizePolicy // is dependent on the committed portion (current capacity) of the // generation - the less space committed, the smaller the survivor // space, possibly as small as an alignment. However, we are interested // in the case where the young generation is 100% committed, as this ! // is the point where eden reaches its maximum size. At this point, // the size of a survivor space is max_survivor_size. max_eden_size = size - 2 * max_survivor_size; } _eden_counters = new SpaceCounters("eden", 0, max_eden_size, _eden_space,
*** 286,296 **** bool size_changed = false; // There used to be this guarantee there. // guarantee ((eden_size + 2*survivor_size) <= _max_gen_size, "incorrect input arguments"); // Code below forces this requirement. In addition the desired eden ! // size and disired survivor sizes are desired goals and may // exceed the total generation size. assert(min_gen_size() <= orig_size && orig_size <= max_size(), "just checking"); // Adjust new generation size --- 286,296 ---- bool size_changed = false; // There used to be this guarantee there. // guarantee ((eden_size + 2*survivor_size) <= _max_gen_size, "incorrect input arguments"); // Code below forces this requirement. In addition the desired eden ! // size and desired survivor sizes are desired goals and may // exceed the total generation size. assert(min_gen_size() <= orig_size && orig_size <= max_size(), "just checking"); // Adjust new generation size
src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File