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

changeset 6084
46d7652b223c
parent 2314
f95d63e2154a
child 6085
8f07aa079343
     1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.cpp	Mon Oct 21 18:52:13 2013 +0200
     1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.cpp	Mon Oct 21 18:56:20 2013 +0200
     1.3 @@ -70,7 +70,6 @@
     1.4  }
     1.5  
     1.6  size_t ASPSYoungGen::available_for_expansion() {
     1.7 -
     1.8    size_t current_committed_size = virtual_space()->committed_size();
     1.9    assert((gen_size_limit() >= current_committed_size),
    1.10      "generation size limit is wrong");
    1.11 @@ -85,7 +84,6 @@
    1.12  // Future implementations could check the survivors and if to_space is in the
    1.13  // right place (below from_space), take a chunk from to_space.
    1.14  size_t ASPSYoungGen::available_for_contraction() {
    1.15 -
    1.16    size_t uncommitted_bytes = virtual_space()->uncommitted_size();
    1.17    if (uncommitted_bytes != 0) {
    1.18      return uncommitted_bytes;
    1.19 @@ -121,7 +119,6 @@
    1.20        gclog_or_tty->print_cr("  gen_avail %d K", gen_avail/K);
    1.21      }
    1.22      return result_aligned;
    1.23 -
    1.24    }
    1.25  
    1.26    return 0;

mercurial