# HG changeset patch # User simonis # Date 1488196636 -3600 # Mon Feb 27 12:57:16 2017 +0100 # Node ID f94b195445076a578cc0af6a85bb5fcc40beab92 # Parent 138a5f5e37b74dd208bc053d90db4528732ee866 8175900: Assertion too strict in G1CollectedHeap::new_mutator_alloc_region Reviewed-by: simonis Contributed-by: gunter.haug@sap.com diff --git a/src/share/vm/gc/g1/g1CollectedHeap.cpp b/src/share/vm/gc/g1/g1CollectedHeap.cpp --- a/src/share/vm/gc/g1/g1CollectedHeap.cpp +++ b/src/share/vm/gc/g1/g1CollectedHeap.cpp @@ -5269,8 +5269,6 @@ HeapRegion* G1CollectedHeap::new_mutator_alloc_region(size_t word_size, bool force) { assert_heap_locked_or_at_safepoint(true /* should_be_vm_thread */); - assert(!force || g1_policy()->can_expand_young_list(), - "if force is true we should be able to expand the young list"); bool should_allocate = g1_policy()->should_allocate_mutator_region(); if (force || should_allocate) { HeapRegion* new_alloc_region = new_region(word_size,