Mercurial > hg > graal-jvmci-8
diff src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp @ 8504:86b4965f0c9a
-Cleanup code
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Wed, 20 Mar 2013 21:39:24 +0100 |
parents | 992f62c457b0 |
children | b9a918201d47 |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp Wed Mar 20 20:27:30 2013 +0100 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp Wed Mar 20 21:39:24 2013 +0100 @@ -70,7 +70,6 @@ if (result == NULL) { result = attempt_allocation_slow(word_size, gc_count_before_ret); } - assert_heap_not_locked(); if (result != NULL) { dirty_young_block(result, word_size); @@ -90,8 +89,6 @@ result = _survivor_gc_alloc_region.attempt_allocation_locked(word_size, false /* bot_updates */); } - - if (result != NULL) { dirty_young_block(result, word_size); }