Mercurial > hg > graal-compiler
diff src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 8504:86b4965f0c9a
-Cleanup code
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Wed, 20 Mar 2013 21:39:24 +0100 |
parents | ff4fa8b0516e |
children | dee7c8b578c7 |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Wed Mar 20 20:27:30 2013 +0100 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Wed Mar 20 21:39:24 2013 +0100 @@ -854,9 +854,7 @@ assert(!isHumongous(word_size), "we do not allow humongous TLABs"); unsigned int dummy_gc_count_before; - HeapWord* word=attempt_allocation(word_size, &dummy_gc_count_before); - tty->print_cr("Allocate new TLAB at 0x%16lx",(oop) word); - return word; + return attempt_allocation(word_size, &dummy_gc_count_before); } HeapWord* @@ -2400,17 +2398,6 @@ } #endif // !PRODUCT -#ifdef GRAAL - HeapWord** G1CollectedHeap::top_addr() const { - return _mutator_alloc_region.top_addr(); - } - - HeapWord** G1CollectedHeap::end_addr() const { - return _mutator_alloc_region.end_addr(); - } - -#endif - void G1CollectedHeap::increment_old_marking_cycles_started() { assert(_old_marking_cycles_started == _old_marking_cycles_completed || _old_marking_cycles_started == _old_marking_cycles_completed + 1, @@ -6439,7 +6426,6 @@ assert_heap_locked_or_at_safepoint(true /* should_be_vm_thread */); // First, check the explicit lists. - _free_list.verify(); { // Given that a concurrent operation might be adding regions to