src/share/vm/memory/defNewGeneration.cpp

changeset 5516
330dfb0476f4
parent 5459
7b06ae405d7b
child 6085
8f07aa079343
     1.1 --- a/src/share/vm/memory/defNewGeneration.cpp	Fri Aug 09 01:39:11 2013 -0700
     1.2 +++ b/src/share/vm/memory/defNewGeneration.cpp	Wed Aug 14 09:02:32 2013 +0200
     1.3 @@ -567,8 +567,6 @@
     1.4    gc_tracer.report_gc_start(gch->gc_cause(), _gc_timer->gc_start());
     1.5  
     1.6    _next_gen = gch->next_gen(this);
     1.7 -  assert(_next_gen != NULL,
     1.8 -    "This must be the youngest gen, and not the only gen");
     1.9  
    1.10    // If the next generation is too full to accommodate promotion
    1.11    // from this generation, pass on collection; let the next generation
    1.12 @@ -901,8 +899,6 @@
    1.13    if (_next_gen == NULL) {
    1.14      GenCollectedHeap* gch = GenCollectedHeap::heap();
    1.15      _next_gen = gch->next_gen(this);
    1.16 -    assert(_next_gen != NULL,
    1.17 -           "This must be the youngest gen, and not the only gen");
    1.18    }
    1.19    return _next_gen->promotion_attempt_is_safe(used());
    1.20  }

mercurial