comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 8502:ff4fa8b0516e

-Create push patch
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Wed, 20 Mar 2013 20:13:08 +0100
parents 992f62c457b0
children 86b4965f0c9a
comparison
equal deleted inserted replaced
8501:41fc46da946a 8502:ff4fa8b0516e
852 HeapWord* G1CollectedHeap::allocate_new_tlab(size_t word_size) { 852 HeapWord* G1CollectedHeap::allocate_new_tlab(size_t word_size) {
853 assert_heap_not_locked_and_not_at_safepoint(); 853 assert_heap_not_locked_and_not_at_safepoint();
854 assert(!isHumongous(word_size), "we do not allow humongous TLABs"); 854 assert(!isHumongous(word_size), "we do not allow humongous TLABs");
855 855
856 unsigned int dummy_gc_count_before; 856 unsigned int dummy_gc_count_before;
857 return attempt_allocation(word_size, &dummy_gc_count_before); 857 HeapWord* word=attempt_allocation(word_size, &dummy_gc_count_before);
858 tty->print_cr("Allocate new TLAB at 0x%16lx",(oop) word);
859 return word;
858 } 860 }
859 861
860 HeapWord* 862 HeapWord*
861 G1CollectedHeap::mem_allocate(size_t word_size, 863 G1CollectedHeap::mem_allocate(size_t word_size,
862 bool* gc_overhead_limit_was_exceeded) { 864 bool* gc_overhead_limit_was_exceeded) {